Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0
Firefox 112
Ubuntu
Desktop
one year ago
Test name Executions per second
toLocaleString 35068.6 Ops/sec
Intl.NumberFormat 34622.8 Ops/sec
string split & reduce 2226307.5 Ops/sec
toFixed 11372008.0 Ops/sec
Script Preparation code:
Tests:
  • toLocaleString

  • Intl.NumberFormat

  • string split & reduce

  • toFixed


;