Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Chrome 107
Linux
Desktop
2 years ago
Test name Executions per second
Simple - Template 382893.8 Ops/sec
Simple - JavaScript 243016.6 Ops/sec
Simple - innerHTML 100302.4 Ops/sec
Complex - Template 97034.6 Ops/sec
Complex - JavaScript 51674.9 Ops/sec
Complex - innerHTML 39559.5 Ops/sec
Script Preparation code:
Tests:
  • Simple - Template

  • Simple - JavaScript

  • Simple - innerHTML

  • Complex - Template

  • Complex - JavaScript

  • Complex - innerHTML


;