HTML Preparation code:
Script Preparation code:
Tests:
  • Programmatic Element creation

  • jQuery Element creation

  • Custom Method: HTMLElement.From()

  • DOMParser

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Programmatic Element creation
    jQuery Element creation
    Custom Method: HTMLElement.From()
    DOMParser

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0
Firefox 141 on Windows
View result in a separate tab
Test name Executions per second
Programmatic Element creation 362983.2 Ops/sec
jQuery Element creation 124054.2 Ops/sec
Custom Method: HTMLElement.From() 271686.2 Ops/sec
DOMParser 71833.5 Ops/sec