streamline and improve benchmarks.

This commit is contained in:
fiatjaf
2023-12-22 06:57:23 -03:00
parent 83b6dd7ec3
commit 7adbd30799
4 changed files with 20 additions and 30 deletions

View File

@@ -26,7 +26,7 @@ lint:
benchmark:
bun build --target=node --outfile=bench.js benchmark.ts
bun run benchmark.ts
timeout 2s deno run bench.js || true
timeout 2s node bench.js || true
timeout 25s deno run --allow-read bench.js || true
timeout 25s node bench.js || true
timeout 25s bun run benchmark.ts || true
rm bench.js