Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36
Chrome 88
Linux
Desktop
3 years ago
Test name Executions per second
Programmatic Element creation 54942.4 Ops/sec
jQuery Element creation 16684.3 Ops/sec
Custom Method: HTMLElement.From() 28844.3 Ops/sec
DOMParser 3825.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Programmatic Element creation

  • jQuery Element creation

  • Custom Method: HTMLElement.From()

  • DOMParser


;