Script Preparation code:
Tests:
  • Using the spread operator

  • Using Object.assign

  • swc

  • Manualy

  • json

  • only parse

  • structuredClone

  • Object.keys

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Using the spread operator
    Using Object.assign
    swc
    Manualy
    json
    only parse
    structuredClone
    Object.keys

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (Android 14; Mobile; rv:129.0) Gecko/129.0 Firefox/129.0
Firefox Mobile 129 on Android
View result in a separate tab
Test name Executions per second
Using the spread operator 1194.0 Ops/sec
Using Object.assign 1120.4 Ops/sec
swc 385.7 Ops/sec
Manualy 478.6 Ops/sec
json 163.8 Ops/sec
only parse 498.3 Ops/sec
structuredClone 147.2 Ops/sec
Object.keys 10654.8 Ops/sec


;