Tests:
  • Number (with string integer)

  • Unary + (with string integer)

  • parseInt (with string integer)

  • Double Bitwise (with string integer)

  • Number (with integer)

  • Unary + (with integer)

  • parseInt (with integer)

  • Double Bitwise

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Number (with string integer)
    Unary + (with string integer)
    parseInt (with string integer)
    Double Bitwise (with string integer)
    Number (with integer)
    Unary + (with integer)
    parseInt (with integer)
    Double Bitwise

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0
Firefox 117 on Windows
View result in a separate tab
Test name Executions per second
Number (with string integer) 41473100.0 Ops/sec
Unary + (with string integer) 41505120.0 Ops/sec
parseInt (with string integer) 1277845888.0 Ops/sec
Double Bitwise (with string integer) 4690700.0 Ops/sec
Number (with integer) 32574996.0 Ops/sec
Unary + (with integer) 711415104.0 Ops/sec
parseInt (with integer) 718727616.0 Ops/sec
Double Bitwise 843030656.0 Ops/sec