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: one year ago)
Mozilla/5.0 (X11; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0
Firefox 101 on Linux
View result in a separate tab
Test name Executions per second
Mapping 16935210.0 Ops/sec
spreading, then modifying 8021250.0 Ops/sec
Object.assign, then modifying 1541070.0 Ops/sec