Skip to content

Commit 7b3194b

Browse files
committed
fixup! fixup! feat(tinybench-plugin): bump tinybench and add walltime support
1 parent 022c470 commit 7b3194b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/tinybench-plugin/src/walltime.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ function convertTinybenchResultToBenchmarkStats(
109109
median_ns,
110110
q3_ns,
111111
total_time: result.totalTime / 1_000, // convert from ms to seconds
112-
iter_per_round: sortedTimesNs.length,
113-
rounds: 1, // Tinybench only runs one round
112+
iter_per_round: 1, // as there is only one round in tinybench, we define that there were n rounds of 1 iteration
113+
rounds: sortedTimesNs.length,
114114
iqr_outlier_rounds,
115115
stdev_outlier_rounds,
116116
warmup_iters: warmupIterations,

0 commit comments

Comments
 (0)