Script Preparation code:
Tests:
  • Table lookup

  • Math.pow

  • bitwise (1 << n)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Table lookup
    Math.pow
    bitwise (1 << n)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Linux; Android 13) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Mobile Safari/537.36
Chrome Mobile 113 on Android
View result in a separate tab
Test name Executions per second
Table lookup 273325.5 Ops/sec
Math.pow 145618.7 Ops/sec
bitwise (1 << n) 6254165.0 Ops/sec