Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36
Chrome 94
Windows 7
Desktop
3 years ago
Test name Executions per second
Simple - Template 214854.4 Ops/sec
Simple - JavaScript 189440.7 Ops/sec
Simple - innerHTML 130603.1 Ops/sec
Complex - Template 83108.5 Ops/sec
Complex - JavaScript 41937.2 Ops/sec
Complex - innerHTML 45156.7 Ops/sec
Script Preparation code:
Tests:
  • Simple - Template

  • Simple - JavaScript

  • Simple - innerHTML

  • Complex - Template

  • Complex - JavaScript

  • Complex - innerHTML


;