Tests:

Historical Performance Data aggregated from 12 community runs

Desktop Results:
Chrome 12 runs
switch case
2K/s
jump table
508/s

Fastest: switch case (3.9x faster)

View exact numbers
  • switch case: 1,981 ops/sec
  • jump table: 508 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    switch case
    jump table

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0
Firefox 140 on Linux
View result in a separate tab
switch case
840/s
jump table
778/s
View exact numbers
Test name Executions per second
switch case 840 Ops/sec
jump table 778 Ops/sec