Historical Performance Data aggregated from 5 community runs

Desktop Results:
Chrome 5 runs
Accessing random index in array
29K/s
Accessing random index in map
24K/s

Fastest: Accessing random index in array (1.2x faster)

View exact numbers
  • Accessing random index in array: 28,839 ops/sec
  • Accessing random index in map: 23,917 ops/sec

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

Browser OS Engine User Agent When Created
Mobile Safari 26 iOS 26.3 Benchmark.js Mozilla/5.0 (iPhone; CPU iPhone OS 26_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Brave/1 Mobile/15E148 Safari/604.1 6 months ago
Chrome 143 Windows Benchmark.js Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 8 months ago
Chrome 143 Windows Benchmark.js Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 8 months ago
Chrome 120 Linux Benchmark.js Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 2 years ago
Chrome 120 Mac OS X 10.15.7 Benchmark.js Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 2 years ago
Chrome 120 Mac OS X 10.15.7 Benchmark.js Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 2 years ago