Run details:
Mozilla/5.0 (Linux; Android 10; LM-Q730) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.105 Mobile Safari/537.36
Chrome Mobile 92
Android
Mobile
3 years ago
Test name Executions per second
Native 12597056.0 Ops/sec
Native + toFixed 752169.8 Ops/sec
decimal.js 68716.0 Ops/sec
big.js 103104.4 Ops/sec
bignumber.js 71817.6 Ops/sec
HTML Preparation code:
Tests:
  • Native

  • Native + toFixed

  • decimal.js

  • big.js

  • bignumber.js


;