Run details:
Mozilla/5.0 (Linux; Android 12; SM-A736B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Mobile Safari/537.36
Chrome Mobile 107
Android
Mobile
2 years ago
Test name Executions per second
Simple - Template 154071.1 Ops/sec
Simple - JavaScript 147069.8 Ops/sec
Simple - innerHTML 47328.5 Ops/sec
Complex - Template 43169.0 Ops/sec
Complex - JavaScript 25262.6 Ops/sec
Complex - innerHTML 20560.7 Ops/sec
Script Preparation code:
Tests:
  • Simple - Template

  • Simple - JavaScript

  • Simple - innerHTML

  • Complex - Template

  • Complex - JavaScript

  • Complex - innerHTML


;