Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36
Chrome 90
Windows 8.1
Desktop
3 years ago
Test name Executions per second
Simple - Template 110748.0 Ops/sec
Simple - JavaScript 99334.9 Ops/sec
Simple - innerHTML 59232.4 Ops/sec
Complex - Template 35733.0 Ops/sec
Complex - JavaScript 20290.5 Ops/sec
Complex - innerHTML 16988.9 Ops/sec
Script Preparation code:
Tests:
  • Simple - Template

  • Simple - JavaScript

  • Simple - innerHTML

  • Complex - Template

  • Complex - JavaScript

  • Complex - innerHTML


;