Run details:
Mozilla/5.0 (Linux; Android 11; AC2003) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.78 Mobile Safari/537.36
Chrome Mobile 102
Android
Mobile
2 years ago
Test name Executions per second
Native 12085384.0 Ops/sec
Native + toFixed 898065.1 Ops/sec
decimal.js 62373.1 Ops/sec
big.js 100287.1 Ops/sec
bignumber.js 68618.4 Ops/sec
HTML Preparation code:
Tests:
  • Native

  • Native + toFixed

  • decimal.js

  • big.js

  • bignumber.js