Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120
Mac OS X 10.15.7
Desktop
11 months ago
Test name Executions per second
Simple - Template 995938.0 Ops/sec
Simple - JavaScript 930369.5 Ops/sec
Simple - innerHTML 954584.6 Ops/sec
Complex - Template 388964.7 Ops/sec
Complex - JavaScript 142431.2 Ops/sec
Complex - innerHTML 329770.2 Ops/sec
Script Preparation code:
Tests:
  • Simple - Template

  • Simple - JavaScript

  • Simple - innerHTML

  • Complex - Template

  • Complex - JavaScript

  • Complex - innerHTML


;