Test case name | Result |
---|---|
JSON.stringify | |
structuredClone | |
deepCopyObject | |
deepCopyObjectSimple |
Test name | Executions per second |
---|---|
JSON.stringify | 1468338.0 Ops/sec |
structuredClone | 832004.2 Ops/sec |
deepCopyObject | 1333945.0 Ops/sec |
deepCopyObjectSimple | 3525648.0 Ops/sec |