Skip to content

Latest commit

 

History

History
 
 

benchmarks

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Benchmarks

This document is generated by npm start. It compares simple-statistics performance against similar libraries in JavaScript.

ss science jStat mathjs d3 ssMaster
variance 264,814 87,000 374,853 56,210 250,047
covariance 149,052 125,392 155,657
skewness 255,259 102,878 251,437
geometric mean 232,700 222,265 227,263
medianAbsoluteDeviation 23,033 339 23,011
median 80,785 3,690 3,828 951 4,023 76,175
mode 3,447 1,658 3,189 488 3,360
mean 368,527 1,595 645,355 20,586 394,332
min 613,833 549,438 26,447 89,338 712,161
max 724,317 539,410 25,483 76,094 688,329
sum 375,789 615,053 18,436 611,012 379,656

Fastest libraries are in bold. Numbers are in operations per second.

ssMaster is simple-statistics master branch, used for testing and proofing - it is not guaranteed to be any released version.

Versions

  • simple-statistics: 4.1.0
  • science: 1.9.3
  • jstat: 1.5.3
  • mathjs: 3.12.2
  • d3-array: 1.2.0