Script Preparation code:
Tests:
  • Switch

  • Object Literal

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Switch
    Object Literal

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Linux; Android 9; STF-L09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Mobile Safari/537.36
Chrome Mobile 91 on Android
View result in a separate tab
Test name Executions per second
Switch 31986.8 Ops/sec
Object Literal 28688.4 Ops/sec