Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Firefox 78
Linux
Desktop
4 years ago
Test name Executions per second
Simple - Template 566648.6 Ops/sec
Simple - JavaScript 428558.2 Ops/sec
Simple - innerHTML 556526.0 Ops/sec
Complex - Template 191898.3 Ops/sec
Complex - JavaScript 95544.8 Ops/sec
Complex - innerHTML 160131.1 Ops/sec
Script Preparation code:
Tests:
  • Simple - Template

  • Simple - JavaScript

  • Simple - innerHTML

  • Complex - Template

  • Complex - JavaScript

  • Complex - innerHTML


;