Skip to content

Two functions that measure the computation power for Node.js

Notifications You must be signed in to change notification settings

Strernd/cpu-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Two functions that measure the computation power for Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published