Skip to content

Commit

Permalink
clean in benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
bwasti committed Sep 27, 2022
1 parent c7d2e1a commit 0a8bb25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/bench.ts
Expand Up @@ -14,6 +14,7 @@ function bench(description, f, iters = 1000) {
Math.round(t.amin().toFloat32()) / 1e3
}us, max: ${Math.round(t.amax().toFloat32()) / 1e3}us)`
)
Bun.gc(true)
}

for (const N of [10, 1000, 100000]) {
Expand Down

0 comments on commit 0a8bb25

Please sign in to comment.