Skip to content

Commit

Permalink
update benchmark thresholds
Browse files Browse the repository at this point in the history
  • Loading branch information
kenanfarukcakir committed May 11, 2023
1 parent 1b01d60 commit a5e6019
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions main_benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,54 +64,54 @@ var table = []struct {
name: "config_distinct_user",
path: "config/config_testdata/benchmark/config_distinct_user.json",
cpuTimeThreshold: 0.350,
maxMemThreshold: 1,
avgMemThreshold: 1,
maxMemThreshold: 0.5,
avgMemThreshold: 0.35,
testType: Basic,
},
{
name: "config_repeated_user",
path: "config/config_testdata/benchmark/config_repeated_user.json",
cpuTimeThreshold: 0.350,
maxMemThreshold: 1,
avgMemThreshold: 1,
maxMemThreshold: 0.5,
avgMemThreshold: 0.35,
testType: Basic,
},
{
name: "config_correlation_load_1",
path: "config/config_testdata/benchmark/config_correlation_load_1.json",
cpuTimeThreshold: 0.350,
maxMemThreshold: 1,
avgMemThreshold: 1,
maxMemThreshold: 0.5,
avgMemThreshold: 0.35,
testType: Correlation,
},
{
name: "config_correlation_load_2",
path: "config/config_testdata/benchmark/config_correlation_load_2.json",
cpuTimeThreshold: 2.5,
maxMemThreshold: 2,
avgMemThreshold: 2,
maxMemThreshold: 0.8,
avgMemThreshold: 0.7,
testType: Correlation,
},
{
name: "config_correlation_load_3",
path: "config/config_testdata/benchmark/config_correlation_load_3.json",
cpuTimeThreshold: 15.5,
maxMemThreshold: 5,
avgMemThreshold: 8,
avgMemThreshold: 4,
testType: Correlation,
},
{
name: "config_correlation_load_4",
path: "config/config_testdata/benchmark/config_correlation_load_4.json",
cpuTimeThreshold: 25,
maxMemThreshold: 25,
avgMemThreshold: 16,
maxMemThreshold: 7,
avgMemThreshold: 5,
testType: Correlation,
},
{
name: "config_correlation_load_5",
path: "config/config_testdata/benchmark/config_correlation_load_5.json",
cpuTimeThreshold: 70,
cpuTimeThreshold: 60,
maxMemThreshold: 15,
avgMemThreshold: 10,
testType: Correlation,
Expand Down Expand Up @@ -151,7 +151,7 @@ var table = []struct {
{
name: "config_multipart_inject_1krps",
path: "config/config_testdata/benchmark/config_multipart_inject_1krps.json",
cpuTimeThreshold: 240,
cpuTimeThreshold: 180,
maxMemThreshold: 10,
avgMemThreshold: 15,
testType: Multipart,
Expand Down

0 comments on commit a5e6019

Please sign in to comment.