Run details:
Mozilla/5.0 (Linux; Android 10; POCOPHONE F1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.120 Mobile Safari/537.36
Chrome Mobile 91
Android
Mobile
3 years ago
Test name Executions per second
Simple - Template 128248.4 Ops/sec
Simple - JavaScript 124533.5 Ops/sec
Simple - innerHTML 62850.8 Ops/sec
Complex - Template 37721.1 Ops/sec
Complex - JavaScript 22065.9 Ops/sec
Complex - innerHTML 20407.6 Ops/sec
Script Preparation code:
Tests:
  • Simple - Template

  • Simple - JavaScript

  • Simple - innerHTML

  • Complex - Template

  • Complex - JavaScript

  • Complex - innerHTML


;