HTML Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Object.assign
    JSON stringify and parse
    jQuery.extend
    structuredClone

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:138.0) Gecko/20100101 Firefox/138.0
Firefox 138 on Windows
View result in a separate tab
Object.assign
14.6M/s
jQuery.extend
1.6M/s
JSON stringify and parse
1.1M/s
structuredClone
476K/s
View exact numbers
Test name Executions per second
Object.assign 14,644,865 Ops/sec
jQuery.extend 1,638,098 Ops/sec
JSON stringify and parse 1,051,177 Ops/sec
structuredClone 476,161 Ops/sec