Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Firefox 57
Windows
Other
6 years ago
Test name Executions per second
Programmatic Element creation 78892.6 Ops/sec
jQuery Element creation 21653.7 Ops/sec
Custom Method: HTMLElement.From() 54822.2 Ops/sec
DOMParser 12047.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Programmatic Element creation

  • jQuery Element creation

  • Custom Method: HTMLElement.From()

  • DOMParser


;