Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0
Firefox 121
Ubuntu
Desktop
10 months ago
Test name Executions per second
JavaScript Template 191066.6 Ops/sec
only innerHTML 180624.2 Ops/sec
DOM Template, repeated getElementById 145914.5 Ops/sec
DOM Template, single getElementById 55733.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • JavaScript Template

  • only innerHTML

  • DOM Template, repeated getElementById

  • DOM Template, single getElementById


;