Tests:
  • parseInt

  • parseFloat

  • Math.floor

  • ceil

  • Unary

  • "1" * 1

  • Class

  • div

  • <<

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    parseInt
    parseFloat
    Math.floor
    ceil
    Unary
    "1" * 1
    Class
    div
    <<

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15
Safari 13 on Mac OS X 10.15.4
View result in a separate tab
Test name Executions per second
parseInt 7924738.5 Ops/sec
parseFloat 7882457.0 Ops/sec
Math.floor 7623125.0 Ops/sec
ceil 7811979.0 Ops/sec
Unary 70452280.0 Ops/sec
"1" * 1 70579792.0 Ops/sec
Class 7848283.0 Ops/sec
div 41040524.0 Ops/sec
<< 37482560.0 Ops/sec