Script Preparation code:
Tests:
  • toFixed

  • toPrecision

  • Math.round

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    toFixed
    toPrecision
    Math.round

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (iPhone; CPU iPhone OS 15_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Mobile/15E148 Safari/604.1
Mobile Safari 15 on iOS 15.2
View result in a separate tab
Test name Executions per second
toFixed 4481461.5 Ops/sec
toPrecision 4190203.0 Ops/sec
Math.round 7738013.0 Ops/sec


;