HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 10 community runs

Desktop Results:
Chrome 5 runs
Array
18K/s
Iterator
4K/s

Fastest: Array (4.5x faster)

View exact numbers
  • Array: 17,701 ops/sec
  • Iterator: 3,903 ops/sec
Firefox 5 runs
Array
15K/s
Iterator
1K/s

Fastest: Array (10.5x faster)

View exact numbers
  • Array: 15,076 ops/sec
  • Iterator: 1,439 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
    Iterator

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 months ago)
Mozilla/5.0 (Android 16; Mobile; rv:150.0) Gecko/150.0 Firefox/150.0
Firefox Mobile 150 on Android
View result in a separate tab
Array
8K/s
Iterator
718/s
View exact numbers
Test name Executions per second
Array 7,521 Ops/sec
Iterator 718 Ops/sec