mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
standard span stress
This commit is contained in:
@@ -55,8 +55,8 @@ func main() {
|
||||
Direction: "*out",
|
||||
TOR: "call",
|
||||
Tenant: "cgrates.org",
|
||||
Subject: "dan",
|
||||
Destination: "+31676016500",
|
||||
Subject: "1001",
|
||||
Destination: "+49676016500",
|
||||
}
|
||||
getter, err := engine.ConfigureDataStorage(utils.REDIS, "127.0.0.1", "6379", "10", "", "", utils.MSGPACK)
|
||||
if err != nil {
|
||||
@@ -75,7 +75,7 @@ func main() {
|
||||
j := 0
|
||||
start := time.Now()
|
||||
for i := 0; i < *runs; i++ {
|
||||
result, err = cd.GetCost()
|
||||
result, err = cd.Debit()
|
||||
if *memprofile != "" {
|
||||
runtime.MemProfileRate = 1
|
||||
runtime.GC()
|
||||
|
||||
Reference in New Issue
Block a user