Tests:
  • object update with spread operator

  • object update with indexing

  • map update

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    object update with spread operator
    object update with indexing
    map update

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.97 Safari/537.36
Chrome 96 on Linux
View result in a separate tab
Test name Executions per second
object update with spread operator 2739.1 Ops/sec
object update with indexing 53870.3 Ops/sec
map update 24568.5 Ops/sec