Tests:
-
klona
-
Native structuredClone
-
JSON.parse(JSON.stringify())
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
one year ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Mobile Safari/537.36
Chrome Mobile 136 on Android
View result in a separate tab
JSON.parse(JSON.stringify())
1.2M/s
Native structuredClone
401K/s
View exact numbers
| Test name |
Executions per second |
|
✓
klona
|
4,380,840 Ops/sec |
|
JSON.parse(JSON.stringify())
|
1,165,241 Ops/sec |
|
Native structuredClone
|
400,969 Ops/sec |
Do you really want to delete benchmark?