Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36 OPR/83.0.4254.27
Opera 83
Windows 7
Desktop
2 years ago
Test name Executions per second
Simple - Template 251105.5 Ops/sec
Simple - JavaScript 287060.9 Ops/sec
Simple - innerHTML 117118.1 Ops/sec
Complex - Template 83016.7 Ops/sec
Complex - JavaScript 49388.6 Ops/sec
Complex - innerHTML 34726.1 Ops/sec
Script Preparation code:
Tests:
  • Simple - Template

  • Simple - JavaScript

  • Simple - innerHTML

  • Complex - Template

  • Complex - JavaScript

  • Complex - innerHTML


;