Test case name | Result |
---|---|
Native | |
Native + toFixed | |
decimal.js | |
big.js | |
bignumber.js | |
math.min.js |
Test name | Executions per second |
---|---|
Native | 21667928.0 Ops/sec |
Native + toFixed | 2961751.2 Ops/sec |
decimal.js | 261609.3 Ops/sec |
big.js | 429340.2 Ops/sec |
bignumber.js | 257557.4 Ops/sec |
math.min.js | 1324647.4 Ops/sec |