Run details:
Mozilla/5.0 (Linux; Android 10; BKL-L09) 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 144829.8 Ops/sec
Simple - JavaScript 153642.2 Ops/sec
Simple - innerHTML 74664.5 Ops/sec
Complex - Template 44330.4 Ops/sec
Complex - JavaScript 27432.1 Ops/sec
Complex - innerHTML 21538.8 Ops/sec
Script Preparation code:
Tests:
  • Simple - Template

  • Simple - JavaScript

  • Simple - innerHTML

  • Complex - Template

  • Complex - JavaScript

  • Complex - innerHTML


;