Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36 OPR/91.0.4516.77
Opera 91
Windows
Desktop
2 years ago
Test name Executions per second
Simple - Template 118640.2 Ops/sec
Simple - JavaScript 126528.7 Ops/sec
Simple - innerHTML 61129.7 Ops/sec
Complex - Template 48288.8 Ops/sec
Complex - JavaScript 24012.2 Ops/sec
Complex - innerHTML 22941.7 Ops/sec
Script Preparation code:
Tests:
  • Simple - Template

  • Simple - JavaScript

  • Simple - innerHTML

  • Complex - Template

  • Complex - JavaScript

  • Complex - innerHTML


;