Socket
Socket
Sign inDemoInstall

@indutny/bencher

Package Overview
Dependencies
16
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

4

dist/bin/bencher.js

@@ -126,6 +126,6 @@ #!/usr/bin/env node

do {
iterations *= 1.25;
iterations *= 2;
duration = measure(m, Math.round(iterations));
} while (duration < maxSampleDuration);
iterations = Math.round(iterations / 1.25);
iterations = Math.max(iterations / 2, (maxSampleDuration / duration) * iterations);
return iterations;

@@ -132,0 +132,0 @@ }

{
"name": "@indutny/bencher",
"version": "1.1.0",
"version": "1.1.1",
"description": "Simple benchmarking tool",

@@ -5,0 +5,0 @@ "bin": {

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc