Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
Chrome 143
Mac OS X 10.15.7
Desktop
10 months ago
Benchmark.js
JSON.parse(JSON.stringify())
415K/s
±0.37%
strucutredClone
287K/s
±2.44%
View exact numbers
| Test name |
Executions per second |
|
✓
JSON.parse(JSON.stringify())
|
415,166 Ops/sec
±0.37%
|
|
strucutredClone
|
287,309 Ops/sec
±2.44%
|
Tests:
-
strucutredClone
-
JSON.parse(JSON.stringify())