Skip to content

Commit 472a6be

Browse files
committed
fix json import
1 parent 3d49c0e commit 472a6be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

table.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ async function readData() {
1515

1616
const measurements = await fs.promises.readdir(`${dir}/${group}/${bench}`);
1717
for (const measurement of measurements) {
18-
const json = await import(`${dir}/${group}/${bench}/${measurement}/new/estimates.json`, { assert: { type: "json" } });
18+
const json = await import(`${dir}/${group}/${bench}/${measurement}/new/estimates.json`, { with: { type: "json" } });
1919
const duration_ms = json.default.mean.point_estimate / 1_000_000;
2020
data[group][bench][measurement] ||= { duration_ms };
2121
}

0 commit comments

Comments
 (0)