Comparing version 0.0.6 to 0.0.7
/** | ||
* 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}) | ||
``` |
3775