Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 14_0_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Mobile/15E148 Safari/604.1
Mobile Safari 14
iOS 14.0.1
Mobile
4 years ago
Test name Executions per second
Simple - Template 1267051.0 Ops/sec
Simple - JavaScript 891255.2 Ops/sec
Simple - innerHTML 695077.5 Ops/sec
Complex - Template 310733.7 Ops/sec
Complex - JavaScript 153685.9 Ops/sec
Complex - innerHTML 115479.5 Ops/sec
Script Preparation code:
Tests:
  • Simple - Template

  • Simple - JavaScript

  • Simple - innerHTML

  • Complex - Template

  • Complex - JavaScript

  • Complex - innerHTML


;