HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Chrome 5 runs
own property
102K/s
prototype chain
95K/s
View exact numbers
  • own property: 102,073 ops/sec
  • prototype chain: 94,591 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
    push
    arr.length++;
    arr[j++]

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Chrome 142 on Windows
View result in a separate tab
arr[j++]
508/s
arr.length++;
505/s
push
348/s
View exact numbers
Test name Executions per second
arr[j++] 508 Ops/sec
arr.length++; 505 Ops/sec
push 348 Ops/sec