Skip to content

Commit 4842cd8

Browse files
authored
test: fix runCommand bench hello size (#4316)
1 parent 32f7ac6 commit 4842cd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/benchmarks/mongoBench/suites/singleBench.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ function makeSingleBench(suite) {
3636
)
3737
.benchmark('runCommand', benchmark =>
3838
benchmark
39-
// { hello: true } is 13 bytes. However the legacy hello was 16 bytes, to preserve history comparison data we leave this value as is.
40-
.taskSize(0.16)
39+
// { hello: true } is 13 bytes of BSON x 10,000 iterations
40+
.taskSize(0.13)
4141
.setup(makeClient)
4242
.setup(connectClient)
4343
.setup(initDb)

0 commit comments

Comments
 (0)