Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15
Safari 14
Mac OS X 10.14.6
Desktop
2 years ago
Test name Executions per second
Simple - Template 590410.4 Ops/sec
Simple - JavaScript 415049.6 Ops/sec
Simple - innerHTML 311426.7 Ops/sec
Complex - Template 158387.9 Ops/sec
Complex - JavaScript 74878.2 Ops/sec
Complex - innerHTML 77657.0 Ops/sec
Script Preparation code:
Tests:
  • Simple - Template

  • Simple - JavaScript

  • Simple - innerHTML

  • Complex - Template

  • Complex - JavaScript

  • Complex - innerHTML


;