Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36
Chrome 145
Mac OS X 10.15.7
Desktop
8 months ago
Benchmark.js
JSON.parse(JSON.stringify())
445K/s
±0.36%
strucutredClone
314K/s
±1.26%
View exact numbers
| Test name |
Executions per second |
|
✓
JSON.parse(JSON.stringify())
|
444,839 Ops/sec
±0.36%
|
|
strucutredClone
|
313,628 Ops/sec
±1.26%
|
Tests:
-
strucutredClone
-
JSON.parse(JSON.stringify())