Skip to content

Commit fb842aa

Browse files
EtiennePerotgvisor-bot
authored andcommitted
Reduce max thread count in nginx and wordpress benchmarks.
Now it is still a high number, but one that has a more realistic chance to run effectively on small machines. PiperOrigin-RevId: 770887549
1 parent cbf2789 commit fb842aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/kubernetes/benchmarks/nginx.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ var (
4949
// and will serve files out of `nginxServingDir`.
5050
nginxCommand = []string{"nginx", "-c", "/etc/nginx/nginx.conf"}
5151
nginxDocKibibytes = []int{1, 10240}
52-
threads = []int{1, 8, 1000}
52+
threads = []int{1, 8, 256}
5353
targetQPS = []int{1, 64, httpbench.InfiniteQPS}
5454
wantPercentiles = []int{50, 95, 99}
5555
)

test/kubernetes/benchmarks/wordpress.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const (
5252
)
5353

5454
var (
55-
threads = []int{1, 8, 1000}
55+
threads = []int{1, 8, 256}
5656
targetQPS = []int{1, 64, httpbench.InfiniteQPS}
5757
wantPercentiles = []int{50, 95, 99}
5858
)

0 commit comments

Comments
 (0)