Script Preparation code:
Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Firefox 5 runs
hash lookup
6.3M/s
array lookup
95K/s

Fastest: hash lookup (66.5x faster)

View exact numbers
  • hash lookup: 6,283,406 ops/sec
  • array lookup: 94,543 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
    array lookup
    hash lookup

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 months ago)
Mozilla/5.0 (X11; Linux x86_64; rv:151.0) Gecko/20100101 Firefox/151.0
Firefox 151 on Linux
View result in a separate tab
hash lookup
2.3M/s
array lookup
33K/s
View exact numbers
Test name Executions per second
hash lookup 2,306,322 Ops/sec
array lookup 33,409 Ops/sec