Tests:
  • Add array item

    AخA
     
    const a = [1, 2, 3];
    a[3]  = 4
  • Add random property

     
    const a = [1, 2, 3];
    a.metadata = 4;
  • No addition

     
    const a = [1, 2, 3, 4];
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    Add array item
    Add random property
    No addition

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36
Chrome 87 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Add array item 49185528.0 Ops/sec
Add random property 874934144.0 Ops/sec
No addition 897159168.0 Ops/sec