Skip to content

Commit

Permalink
Change to 1 minute runs for each benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
pouya-eghbali committed Nov 18, 2024
1 parent b3e70cd commit 4a0964d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/benchmark/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
msgpackrFiveThousandUsersDecode,
} from "./tests/msgpackr.js";

const bench = new Bench({ name: "serialization", time: 2 * 1000 });
const bench = new Bench({ name: "serialization", time: 60 * 1000 });

bench.add("JSON", () => jsonFiveThousandUsers());
bench.add("Sializer", () => siaFiveThousandUsers());
Expand All @@ -35,7 +35,7 @@ console.table(bench.table());

const deserializeBench = new Bench({
name: "deserialization",
time: 2 * 1000,
time: 60 * 1000,
});

deserializeBench.add("JSON", () => jsonFiveThousandUsersDecode());
Expand Down

0 comments on commit 4a0964d

Please sign in to comment.