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

  • Custom function

  • JSON.parse

  • structuredClone

  • simple

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Lodash
    Custom function
    JSON.parse
    structuredClone
    simple

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Lodash 1821834.4 Ops/sec
Custom function 4424030.5 Ops/sec
JSON.parse 1504221.0 Ops/sec
structuredClone 876482.7 Ops/sec
simple 9122815.0 Ops/sec