Test case name | Result |
---|---|
Native | |
Native + toFixed | |
decimal.js | |
big.js | |
bignumber.js |
Test name | Executions per second |
---|---|
Native | 45233408.0 Ops/sec |
Native + toFixed | 5253445.0 Ops/sec |
decimal.js | 466908.6 Ops/sec |
big.js | 776975.4 Ops/sec |
bignumber.js | 403772.2 Ops/sec |