New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

timeit-js

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

timeit-js - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

2

index.js
/**
* Measure the average execution time of a function
* @param {Function} fn A function for performance measure
* @param {Function} fn A function for performance measurement
* @param {Array} args Function arguments

@@ -5,0 +5,0 @@ * @param {Object} options

{
"name": "timeit-js",
"version": "0.0.6",
"version": "0.0.7",
"description": "Performance Measuring for Node JS",

@@ -5,0 +5,0 @@ "main": "index.js",

# timeit-js
Simple Node Performance Measuring
Simple Node Performance Measurement

@@ -23,3 +23,3 @@ Measure the average execution time of a function. If you find any bugs or have suggestions feel free to help and fork the package.

* Measure the average execution time of a function
* @param {Function} fn A function for performance measure
* @param {Function} fn A function for performance measurement
* @param {Array} args Function arguments

@@ -35,3 +35,3 @@ * @param {Object} options

| parameter | Option | default
| Parameter | Option | Default
|-----------|---------|--------:

@@ -53,3 +53,3 @@ `e` | Function Executions | 1000

timeit(sum, args=[1, 2, 3, 4], {e: 100000, r: 100, d: 2})
timeit(sum, args=[1, 2, 3, 4], options={e: 100000, r: 100, d: 2})
```
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