cpu-benchmark

1.0.1 • Public • Published

CPU Benchmark

const { fib, dist } = require('cpu-benchmark')
 
const duration = fib(41) // Returns time required (ms) 
// to calculate the 41. fibonacci number recursively.
const ops = dist(1000) // Returns the amount of operations 
// (distance matrix calculations) in 1000ms

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    516
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    516
  • 1.0.0
    0

Package Sidebar

Install

npm i cpu-benchmark

Weekly Downloads

359

Version

1.0.1

License

ISC

Unpacked Size

2.32 kB

Total Files

3

Last publish

Collaborators

  • bstrehl