Tests:
  • Math.log10(), .floor()

  • Math.log10(), OR

  • .toString().length

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Math.log10(), .floor()
    Math.log10(), OR
    .toString().length

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 10 months ago)
Mozilla/5.0 (iPhone; CPU iPhone OS 18_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Mobile/15E148 Safari/604.1
Mobile Safari 18 on iOS 18.5
View result in a separate tab
Test name Executions per second
Math.log10(), .floor() 14787.9 Ops/sec
Math.log10(), OR 18148.8 Ops/sec
.toString().length 4394.2 Ops/sec