Run details:
Mozilla/5.0 (Linux; Android 11; Pixel 2 XL) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.101 Mobile Safari/537.36
Chrome Mobile 87
Android
Mobile
3 years ago
Test name Executions per second
Simple - Template 91713.5 Ops/sec
Simple - JavaScript 106525.6 Ops/sec
Simple - innerHTML 46162.8 Ops/sec
Complex - Template 33499.2 Ops/sec
Complex - JavaScript 19503.9 Ops/sec
Complex - innerHTML 15099.9 Ops/sec
Script Preparation code:
Tests:
  • Simple - Template

  • Simple - JavaScript

  • Simple - innerHTML

  • Complex - Template

  • Complex - JavaScript

  • Complex - innerHTML


;