Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Chrome 103
Windows
Desktop
2 years ago
Test name Executions per second
Simple - Template 435226.0 Ops/sec
Simple - JavaScript 331768.0 Ops/sec
Simple - innerHTML 214608.9 Ops/sec
Complex - Template 111163.2 Ops/sec
Complex - JavaScript 58834.5 Ops/sec
Complex - innerHTML 65945.9 Ops/sec
Script Preparation code:
Tests:
  • Simple - Template

  • Simple - JavaScript

  • Simple - innerHTML

  • Complex - Template

  • Complex - JavaScript

  • Complex - innerHTML


;