Script Preparation code:
Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Chrome 5 runs
Object property assign
1.4M/s
Array splice
1.4M/s
View exact numbers
  • Object property assign: 1,420,760 ops/sec
  • Array splice: 1,380,050 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 splice
    Object property assign

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (X11; Linux x86_64; rv:152.0) Gecko/20100101 Firefox/152.0
Firefox 152 on Linux
View result in a separate tab
Object property assign
388K/s
Array splice
379K/s
View exact numbers
Test name Executions per second
Object property assign 387,899 Ops/sec
Array splice 379,477 Ops/sec