Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 14_2_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.1 Mobile/15E148 Safari/604.1
Mobile Safari 14
iOS 14.2.1
Mobile
3 years ago
Test name Executions per second
Simple - Template 1389803.2 Ops/sec
Simple - JavaScript 994859.4 Ops/sec
Simple - innerHTML 831761.8 Ops/sec
Complex - Template 382888.1 Ops/sec
Complex - JavaScript 184537.8 Ops/sec
Complex - innerHTML 177487.0 Ops/sec
Script Preparation code:
Tests:
  • Simple - Template

  • Simple - JavaScript

  • Simple - innerHTML

  • Complex - Template

  • Complex - JavaScript

  • Complex - innerHTML


;