Run details:
Mozilla/5.0 (Android 11; Mobile; rv:95.0) Gecko/95.0 Firefox/95.0
Firefox Mobile 95
Android
Mobile
2 years ago
Test name Executions per second
Native 1490776832.0 Ops/sec
Native + toFixed 10451015.0 Ops/sec
decimal.js 700915.7 Ops/sec
big.js 837299.2 Ops/sec
bignumber.js 583577.4 Ops/sec
HTML Preparation code:
Tests:
  • Native

  • Native + toFixed

  • decimal.js

  • big.js

  • bignumber.js