Skip to content

Commit 0709f10

Browse files
committed
chore: prints
1 parent 4096256 commit 0709f10

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

test/benchmarks/driver_bench/src/main.mts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ const systemInfo = () =>
7373
`- ram: ${platform.ram}`,
7474
`- node: ${process.version}`,
7575
`- running ${total} benchmarks`,
76-
` - finishes soonest: ${earliest.toLocaleTimeString('en-US', { timeZoneName: 'short' })} latest ${latest.toLocaleTimeString('en-US', { timeZoneName: 'short' })}`,
76+
` - finishes soonest: ${earliest.toLocaleTimeString('en-US', { timeZoneName: 'short' })}`,
77+
` latest: ${latest.toLocaleTimeString('en-US', { timeZoneName: 'short' })}`,
7778
`- driver: ${MONGODB_DRIVER_VERSION} (${MONGODB_DRIVER_REVISION}): ${MONGODB_DRIVER_PATH}`,
7879
` - options ${util.inspect(MONGODB_CLIENT_OPTIONS)}`,
7980
`- bson: ${MONGODB_BSON_VERSION} (${MONGODB_BSON_REVISION}): (${MONGODB_BSON_PATH})\n`

test/benchmarks/driver_bench/src/runner.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ console.log(
9494
' '.repeat(3),
9595
...['total time:', totalDuration, 'sec,'],
9696
...['ran:', count, 'times,'],
97-
...['time per run:', medianExecution, 'sec,'],
97+
...['median time per run:', medianExecution, 'sec,'],
9898
...['throughput:', megabytesPerSecond, 'mb/sec']
9999
);
100100

0 commit comments

Comments
 (0)