Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/153.0.0.0 Safari/537.36
Chrome 153
Mac OS X 10.15.7
Desktop
one month ago
Benchmark.js
JSON.parse(JSON.stringify())
444K/s
±0.29%
strucutredClone
315K/s
±0.98%
View exact numbers
| Test name |
Executions per second |
|
✓
JSON.parse(JSON.stringify())
|
444,394 Ops/sec
±0.29%
|
|
strucutredClone
|
315,096 Ops/sec
±0.98%
|
Tests:
-
strucutredClone
-
JSON.parse(JSON.stringify())