Run details:
Mozilla/5.0 (Linux; Android 12; SM-G991B) 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 195850.7 Ops/sec
Simple - JavaScript 154809.9 Ops/sec
Simple - innerHTML 67501.7 Ops/sec
Complex - Template 58333.5 Ops/sec
Complex - JavaScript 37736.6 Ops/sec
Complex - innerHTML 24028.8 Ops/sec
Script Preparation code:
Tests:
  • Simple - Template

  • Simple - JavaScript

  • Simple - innerHTML

  • Complex - Template

  • Complex - JavaScript

  • Complex - innerHTML


;