Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
Chrome 106
Windows
Desktop
2 years ago
Test name Executions per second
Simple - Template 593746.1 Ops/sec
Simple - JavaScript 515679.2 Ops/sec
Simple - innerHTML 305849.6 Ops/sec
Complex - Template 158978.9 Ops/sec
Complex - JavaScript 90908.5 Ops/sec
Complex - innerHTML 86499.1 Ops/sec
Script Preparation code:
Tests:
  • Simple - Template

  • Simple - JavaScript

  • Simple - innerHTML

  • Complex - Template

  • Complex - JavaScript

  • Complex - innerHTML


;