native vs native big vs bignumber.js vs. big.js vs break_infinity.js
Comparing performance of: Native vs Native + toFixed vs big.js vs bignumber.js vs break_infinity.js
4 months ago
User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
Test name |
Executions per second |
Native |
40062108.0 Ops/sec |
Native + toFixed |
3763739.5 Ops/sec |
break_infinity.js |
4136474.0 Ops/sec |
big.js |
979891.2 Ops/sec |
bignumber.js |
842483.3 Ops/sec |
native big |
18271820.0 Ops/sec |
Tests:
-
Native
-
Native + toFixed
-
break_infinity.js
-
big.js
-
bignumber.js
-
native big
Open this result on MeasureThat.net