Script Preparation code:
Tests:
  • Using Object keys and modifying the original object

  • Using spread to merge objects

  • Manually editing every single property (Wanna have this to prove why sometimes there is a manual assign for each property required)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Using Object keys and modifying the original object
    Using spread to merge objects
    Manually editing every single property (Wanna have this to prove why sometimes there is a manual assign for each property required)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Android 10; Mobile; rv:109.0) Gecko/112.0 Firefox/112.0
Firefox Mobile 112 on Android
View result in a separate tab
Test name Executions per second
Using Object keys and modifying the original object 3548374.0 Ops/sec
Using spread to merge objects 734079.1 Ops/sec
Manually editing every single property (Wanna have this to prove why sometimes there is a manual assign for each property required) 155488528.0 Ops/sec