Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/153.0.0.0 Safari/537.36
Chrome 153
Linux
Desktop
one month ago
Benchmark.js
JSON.parse(JSON.stringify())
151K/s ±4.41%
strucutredClone
103K/s ±2.63%
View exact numbers
Test name Executions per second
✓ JSON.parse(JSON.stringify()) 150,815 Ops/sec ±4.41%
strucutredClone 102,540 Ops/sec ±2.63%
Script Preparation code:
Tests: