Script Preparation code:
Tests:
  • Mapping

  • spreading, then modifying

  • Object.assign, then modifying

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Mapping
    spreading, then modifying
    Object.assign, then modifying

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 3 months ago)
Mozilla/5.0 (Linux; Android 12; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Mobile Safari/537.36
Chrome Mobile 102 on Android
View result in a separate tab
Test name Executions per second
Mapping 541263.8 Ops/sec
spreading, then modifying 650415.3 Ops/sec
Object.assign, then modifying 159075.0 Ops/sec