chore: bump up tinybench version to v3 (#8610)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: EYHN <cneyhn@gmail.com>
This commit is contained in:
renovate[bot]
2024-10-28 04:02:00 +00:00
committed by GitHub
parent 8cdca326c1
commit d6ec4cc597
3 changed files with 11 additions and 4 deletions

View File

@@ -7,6 +7,7 @@ import { fromModelName } from '../index.js';
const bench = new Bench({
iterations: 100,
warmup: true,
});
const FIXTURE = `Please extract the items that can be used as tasks from the following content, and send them to me in the format provided by the template. The extracted items should cover as much of the following content as possible.
@@ -36,7 +37,6 @@ bench
fromModelName('gpt-4o').count(FIXTURE);
});
await bench.warmup();
await bench.run();
console.table(bench.table());