Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0
Firefox 139
Linux
Desktop
one year ago
Test name Executions per second
JSON.stringify + JSON.parse 1265863.0 Ops/sec
structuredClone 978015.1 Ops/sec
Script Preparation code:
Tests:
  • JSON.stringify + JSON.parse

  • structuredClone