Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15
Safari 13
Mac OS X 10.13.6
Desktop
2 years ago
Test name Executions per second
Simple - Template 302662.4 Ops/sec
Simple - JavaScript 256413.3 Ops/sec
Simple - innerHTML 120400.3 Ops/sec
Complex - Template 110807.6 Ops/sec
Complex - JavaScript 42349.4 Ops/sec
Complex - innerHTML 37542.1 Ops/sec
Script Preparation code:
Tests:
  • Simple - Template

  • Simple - JavaScript

  • Simple - innerHTML

  • Complex - Template

  • Complex - JavaScript

  • Complex - innerHTML


;