HTML Preparation code:
Script Preparation code:
Tests:
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: one year 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
Programmatic Element creation
363K/s
Custom Method: HTMLElement.From()
272K/s
jQuery Element creation
124K/s
DOMParser
72K/s
View exact numbers
Test name Executions per second
Programmatic Element creation 362,983 Ops/sec
Custom Method: HTMLElement.From() 271,686 Ops/sec
jQuery Element creation 124,054 Ops/sec
DOMParser 71,834 Ops/sec