Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36
Chrome 75
Windows
Desktop
5 years ago
Test name Executions per second
Simple - Template 250845.3 Ops/sec
Simple - JavaScript 263285.0 Ops/sec
Simple - innerHTML 115601.2 Ops/sec
Complex - Template 68716.7 Ops/sec
Complex - JavaScript 42075.3 Ops/sec
Complex - innerHTML 32286.9 Ops/sec
Script Preparation code:
Tests:
  • Simple - Template

  • Simple - JavaScript

  • Simple - innerHTML

  • Complex - Template

  • Complex - JavaScript

  • Complex - innerHTML


;