Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.82 Safari/537.36
Chrome 98
Windows
Desktop
2 years ago
Test name Executions per second
Simple - Template 620368.4 Ops/sec
Simple - JavaScript 479301.6 Ops/sec
Simple - innerHTML 308690.6 Ops/sec
Complex - Template 154453.7 Ops/sec
Complex - JavaScript 91620.1 Ops/sec
Complex - innerHTML 90874.1 Ops/sec
Script Preparation code:
Tests:
  • Simple - Template

  • Simple - JavaScript

  • Simple - innerHTML

  • Complex - Template

  • Complex - JavaScript

  • Complex - innerHTML


;