Run details:
Mozilla/5.0 (Linux; Android 13; SM-S908B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Mobile Safari/537.36
Chrome Mobile 109
Android
Mobile
one year ago
Test name Executions per second
Native 142802800.0 Ops/sec
Native + toFixed 7163533.0 Ops/sec
decimal.js 469238.4 Ops/sec
big.js 687965.4 Ops/sec
bignumber.js 478530.3 Ops/sec
HTML Preparation code:
Tests:
  • Native

  • Native + toFixed

  • decimal.js

  • big.js

  • bignumber.js