Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Firefox 57
Windows
Other
7 years ago
Test name Executions per second
jQuery: get html 32900.5 Ops/sec
get innerHTML 39185.8 Ops/sec
jQuery: set html 72546.7 Ops/sec
set innerHTML 159961.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery: get html

  • get innerHTML

  • jQuery: set html

  • set innerHTML