Run details:
Mozilla/5.0 (Linux; Android 12; moto g(50) 5G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Mobile Safari/537.36
Chrome Mobile 105
Android
Mobile
2 years ago
Test name Executions per second
Simple - Template 145609.1 Ops/sec
Simple - JavaScript 142798.5 Ops/sec
Simple - innerHTML 48718.4 Ops/sec
Complex - Template 42452.8 Ops/sec
Complex - JavaScript 24401.7 Ops/sec
Complex - innerHTML 19697.5 Ops/sec
Script Preparation code:
Tests:
  • Simple - Template

  • Simple - JavaScript

  • Simple - innerHTML

  • Complex - Template

  • Complex - JavaScript

  • Complex - innerHTML


;