Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0
Chrome 143
Mac OS X 10.15.7
Desktop
4 months ago
Test name Executions per second
createElement direct 264869.9 Ops/sec
createElement with template and cloneNode 244135.6 Ops/sec
Script Preparation code:
Tests:
  • createElement direct

  • createElement with template and cloneNode