Skip to content

Commit

Permalink
test: fix benchmarking in the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jul 7, 2021
1 parent bc20b08 commit 4f07309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/helper.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export async function minifyFixtures(jsonFiles, hasComment) {
await minifyFiles(minifiedFiles, hasComment)

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

const resultInfo = await Promise.all(
minifiedFiles.map(async (minifiedFile) => {
Expand Down

0 comments on commit 4f07309

Please sign in to comment.