@dxos/benchmark-suite
Advanced tools
Comparing version 1.0.0-beta.1 to 1.0.0-beta.2
@@ -25,2 +25,4 @@ "use strict"; | ||
const toNanoseconds = hr => hr[0] * 1e9 + hr[1]; | ||
class BenchmarkTest { | ||
@@ -141,3 +143,3 @@ constructor(title, test) { | ||
if (winner === null || winner.timeEnd[1] > timeEnd[1]) { | ||
if (winner === null || toNanoseconds(winner.timeEnd) > toNanoseconds(timeEnd)) { | ||
winner = test; | ||
@@ -144,0 +146,0 @@ } |
{ | ||
"name": "@dxos/benchmark-suite", | ||
"version": "1.0.0-beta.1", | ||
"version": "1.0.0-beta.2", | ||
"description": "Benchmark suite.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/dxos/benchmark-suite#readme", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51145
167