HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Native JSON parse

  • Recursive deep clone

  • Map deep clone

  • structuredClone

  • deepCloneArray

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Lodash cloneDeep
    Native JSON parse
    Recursive deep clone
    Map deep clone
    structuredClone
    deepCloneArray

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
Lodash cloneDeep 309970.4 Ops/sec
Native JSON parse 1565.1 Ops/sec
Recursive deep clone 1986673.9 Ops/sec
Map deep clone 487312.4 Ops/sec
structuredClone 17907.9 Ops/sec
deepCloneArray 2777838.8 Ops/sec