stream-bench
Advanced tools
Comparing version 0.1.0 to 0.1.1
11
index.js
@@ -77,4 +77,13 @@ var Transform = require('stream').Transform | ||
rates.sort() | ||
rates.sort(function (a, b) { | ||
if (a > b) { | ||
return 1 | ||
} | ||
else if (a === b) { | ||
return 0 | ||
} | ||
return -1 | ||
}) | ||
var min = rates[0] | ||
@@ -81,0 +90,0 @@ , max = rates[rates.length - 1] |
{ | ||
"name": "stream-bench", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Node streams benchmarking (throughput, etc)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
13028
125