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 690836.9 Ops/sec
Clone element and change 551819.5 Ops/sec
Clone template content and change 614781.6 Ops/sec
Clone template and use its content 479702.4 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