Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.35
Chrome 107
Windows
Desktop
2 years ago
Test name Executions per second
Create new element from scratch 765049.7 Ops/sec
Clone element and change 658572.5 Ops/sec
Clone template content and change 637201.1 Ops/sec
Clone template and use its content 526825.2 Ops/sec
Script Preparation code:
Tests:
  • Create new element from scratch

  • Clone element and change

  • Clone template content and change

  • Clone template and use its content