Skip to content

Commit f7bf71c

Browse files
committed
update benchmark
1 parent e75f43b commit f7bf71c

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

benchmark/complex.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ for (const [, source] of Object.entries(data)) {
1818
baseCompile(source)
1919
}
2020
let end = convertHrtime(process.hrtime())
21-
console.log(`sec: ${end.seconds - start.seconds}`)
2221
console.log(`ms: ${end.milliseconds - start.milliseconds}`)
2322

2423
console.log()
@@ -59,5 +58,4 @@ for (const [key] of Object.entries(data)) {
5958
i18n.global.t(key, 2)
6059
}
6160
end = convertHrtime(process.hrtime())
62-
console.log(`sec: ${end.seconds - start.seconds}`)
6361
console.log(`ms: ${end.milliseconds - start.milliseconds}`)

benchmark/simple.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ for (const [key] of Object.entries(simpleData)) {
3535
translate(ctx, key)
3636
}
3737
end = convertHrtime(process.hrtime())
38-
console.log(`sec: ${end.seconds - start.seconds}`)
3938
console.log(`ms: ${end.milliseconds - start.milliseconds}`)
4039

4140
clearCompileCache()
@@ -53,5 +52,4 @@ for (const [key] of Object.entries(simpleData)) {
5352
i18n.global.t(key)
5453
}
5554
end = convertHrtime(process.hrtime())
56-
console.log(`sec: ${end.seconds - start.seconds}`)
5755
console.log(`ms: ${end.milliseconds - start.milliseconds}`)

0 commit comments

Comments
 (0)