Tests:
  • switch case

  • jump hash map object

  • jump map instance

  • else if

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    switch case
    jump hash map object
    jump map instance
    else if

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 3 months ago)
Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0
Firefox 121 on Linux
View result in a separate tab
Test name Executions per second
switch case 924.6 Ops/sec
jump hash map object 1108.2 Ops/sec
jump map instance 790.6 Ops/sec
else if 803.1 Ops/sec