Tests:
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: one year 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
Math.log10(), OR
18K/s
Math.log10(), .floor()
15K/s
.toString().length
4K/s
View exact numbers
Test name Executions per second
Math.log10(), OR 18,149 Ops/sec
Math.log10(), .floor() 14,788 Ops/sec
.toString().length 4,394 Ops/sec