Skip to content

Commit

Permalink
chore: increase benchmark iterations (#3303)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbate authored Oct 21, 2024
1 parent 3c6ffb7 commit 955d8cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .changeset/rare-drinks-bake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
---

chore: increase benchmark iterations
2 changes: 1 addition & 1 deletion internal/benchmarks/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { bench } from 'vitest';

export const isDevnet = process.env.DEVNET_WALLET_PVT_KEY !== undefined;

const iterations = isDevnet ? 1 : 10;
const iterations = isDevnet ? 1 : 20;

export const runBenchmark = (name: string, benchmarkFn: () => Promise<void>) => {
bench(
Expand Down

0 comments on commit 955d8cc

Please sign in to comment.