Skip to content

Commit 4f07309

Browse files
committed
test: fix benchmarking in the tests
1 parent bc20b08 commit 4f07309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/helper.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export async function minifyFixtures(jsonFiles, hasComment) {
2929
await minifyFiles(minifiedFiles, hasComment)
3030

3131
const t2 = performance.now()
32-
console.log("Minifying took:", Math.round(t2 - t1), "ms")
32+
console.log("Minifying took:", ((t2 - t1) / 1000).toFixed(3), "seconds")
3333

3434
const resultInfo = await Promise.all(
3535
minifiedFiles.map(async (minifiedFile) => {

0 commit comments

Comments
 (0)