mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user