We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa43c5d commit 69d9418Copy full SHA for 69d9418
2 files changed
examples/with-typescript-esm/bench/tinybench/index.bench.ts
@@ -5,10 +5,10 @@ import { registerFoobarbazBenchmarks } from "./foobarbaz.bench";
5
6
export const bench = withCodSpeed(new Bench());
7
8
-(() => {
+(async () => {
9
registerFiboBenchmarks(bench);
10
registerFoobarbazBenchmarks(bench);
11
12
- bench.runSync();
+ await bench.run();
13
console.table(bench.table());
14
})();
packages/tinybench-plugin/benches/sample.ts
@@ -34,7 +34,7 @@ bench
34
parsePr({ body: LONG_BODY, title: "test", number: 124 });
35
});
36
37
38
bench.runSync();
39
40
0 commit comments