Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36 OPR/77.0.4054.277
Opera 77
Mac OS X 10.15.7
Desktop
3 years ago
Test name Executions per second
Simple - Template 387148.9 Ops/sec
Simple - JavaScript 398696.0 Ops/sec
Simple - innerHTML 166596.4 Ops/sec
Complex - Template 110890.8 Ops/sec
Complex - JavaScript 67675.2 Ops/sec
Complex - innerHTML 52427.7 Ops/sec
Script Preparation code:
Tests:
  • Simple - Template

  • Simple - JavaScript

  • Simple - innerHTML

  • Complex - Template

  • Complex - JavaScript

  • Complex - innerHTML


;