Script Preparation code:
Tests:

Historical Performance Data aggregated from 11 community runs

Desktop Results:
Chrome 11 runs
Switch
62.6M/s
Polymorphism
22.3M/s

Fastest: Switch (2.8x faster)

View exact numbers
  • Switch: 62,647,612 ops/sec
  • Polymorphism: 22,309,352 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
    Polymorphism
    Switch

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36
Chrome 147 on Mac OS X 10.15.7
View result in a separate tab
Switch
212.1M/s
Polymorphism
199.2M/s
View exact numbers
Test name Executions per second
Switch 212,090,240 Ops/sec
Polymorphism 199,220,752 Ops/sec