Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Object shallow clone
    Map shallow clone
    Object structuredClone
    Map structuredClone
    Object JSON.stringify copy

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Chrome 135 on Windows
View result in a separate tab
Map shallow clone
1K/s
Object shallow clone
283/s
Map structuredClone
133/s
Object JSON.stringify copy
128/s
Object structuredClone
103/s
View exact numbers
Test name Executions per second
Map shallow clone 1,131 Ops/sec
Object shallow clone 283 Ops/sec
Map structuredClone 133 Ops/sec
Object JSON.stringify copy 128 Ops/sec
Object structuredClone 103 Ops/sec