Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
Chrome 55
Windows 7
Other
7 years ago
Test name Executions per second
jQuery: get html 71014.9 Ops/sec
get innerHTML 77108.4 Ops/sec
jQuery: set html 67315.1 Ops/sec
set innerHTML 137990.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery: get html

  • get innerHTML

  • jQuery: set html

  • set innerHTML