2.0.8 • Published 6 years ago

testperf v2.0.8

Weekly downloads
2
License
GPL-2.0+
Repository
github
Last release
6 years ago

testperf

An easy speed test for JavaScript.

Takes 2 arguments (name, function), and then any additional arguments are passed to the function being tested.

Example:

const flatMap = require("flatmap-fast")

testPerf("flatMapFast", flatMap, ["Hi", "World"], word => word.split(""))

// => flatMapFast took: 622.593672 milliseconds.

As of v2.0.3, node and native browser JavaScript are supported, using either performance.now() or process.hrtime(). process.hrtime() is formatted to match performance.now()'s output'.

2.0.8

6 years ago

2.0.7

6 years ago

2.0.6

6 years ago

2.0.5

6 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago