Run details:
Mozilla/5.0 (iPad; CPU OS 16_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.2 Mobile/15E148 Safari/604.1
Mobile Safari 16
iOS 16.2
Tablet
one year ago
Test name Executions per second
Native 399850080.0 Ops/sec
Native + toFixed 11808576.0 Ops/sec
decimal.js 1079776.9 Ops/sec
big.js 1304415.1 Ops/sec
bignumber.js 916422.6 Ops/sec
HTML Preparation code:
Tests:
  • Native

  • Native + toFixed

  • decimal.js

  • big.js

  • bignumber.js


;