Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.53 Safari/537.36
Chrome 103
Windows
Desktop
2 years ago
Test name Executions per second
Simple - Template 471764.2 Ops/sec
Simple - JavaScript 349236.7 Ops/sec
Simple - innerHTML 207169.8 Ops/sec
Complex - Template 119405.2 Ops/sec
Complex - JavaScript 69045.4 Ops/sec
Complex - innerHTML 66225.1 Ops/sec
Script Preparation code:
Tests:
  • Simple - Template

  • Simple - JavaScript

  • Simple - innerHTML

  • Complex - Template

  • Complex - JavaScript

  • Complex - innerHTML


;