Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Mobile Safari/537.36
Chrome Mobile 127
Android
Mobile
4 months ago
Test name Executions per second
Native 18100598.0 Ops/sec
Native + toFixed 2446391.8 Ops/sec
decimal.js 244292.2 Ops/sec
big.js 393689.5 Ops/sec
bignumber.js 248726.3 Ops/sec
HTML Preparation code:
Tests:
  • Native

  • Native + toFixed

  • decimal.js

  • big.js

  • bignumber.js