Socket
Socket
Sign inDemoInstall

loadtest

Package Overview
Dependencies
Maintainers
1
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loadtest - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

4

lib/timing.js

@@ -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)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc