Comparing version 2.0.3 to 2.0.4
@@ -156,3 +156,3 @@ 'use strict'; | ||
var results = { | ||
meanLatencyMs: Math.round(meanTime / 10) * 10, | ||
meanLatencyMs: Math.round(meanTime * 10) / 10, | ||
rps: Math.round(partialRequests / elapsedSeconds) | ||
@@ -240,3 +240,3 @@ }; | ||
rps: Math.round(totalRequests / elapsedSeconds), | ||
meanLatencyMs: Math.round(meanTime / 10) * 10, | ||
meanLatencyMs: Math.round(meanTime * 10) / 10, | ||
maxLatencyMs: maxLatencyMs, | ||
@@ -243,0 +243,0 @@ minLatencyMs: minLatencyMs, |
{ | ||
"name": "loadtest", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "Run load tests for your web application. Mostly ab-compatible interface, with an option to force requests per second. Includes an API for automated load testing.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/alexfernandez/loadtest", |
@@ -16,3 +16,3 @@ 'use strict'; | ||
body:'', | ||
requestPerSecond:5, | ||
requestsPerSecond:5, | ||
maxSeconds:30, | ||
@@ -19,0 +19,0 @@ requestGenerator: function(params, options, client, callback) |
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
78637