Run details:
Mozilla/5.0 (Linux; Android 12; M2011K2G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Mobile Safari/537.36
Chrome Mobile 106
Android
Mobile
2 years ago
Test name Executions per second
Native 124662696.0 Ops/sec
Native + toFixed 6476915.0 Ops/sec
decimal.js 440650.8 Ops/sec
big.js 704559.1 Ops/sec
bignumber.js 442389.7 Ops/sec
HTML Preparation code:
Tests:
  • Native

  • Native + toFixed

  • decimal.js

  • big.js

  • bignumber.js