Run details:
Mozilla/5.0 (Linux; Android 9; Redmi Note 8 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.127 Mobile Safari/537.36
Chrome Mobile 85
Android
Mobile
4 years ago
Test name Executions per second
Simple - Template 131364.0 Ops/sec
Simple - JavaScript 150081.8 Ops/sec
Simple - innerHTML 81935.9 Ops/sec
Complex - Template 37949.8 Ops/sec
Complex - JavaScript 26886.5 Ops/sec
Complex - innerHTML 23866.5 Ops/sec
Script Preparation code:
Tests:
  • Simple - Template

  • Simple - JavaScript

  • Simple - innerHTML

  • Complex - Template

  • Complex - JavaScript

  • Complex - innerHTML


;