Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12) AppleWebKit/602.1.50 (KHTML, like Gecko) Version/10.0 Safari/602.1.50
Safari 10
Mac OS X 10.12
Other
8 years ago
Test name Executions per second
jQuery: get html 110345.0 Ops/sec
get innerHTML 123332.1 Ops/sec
jQuery: set html 70117.2 Ops/sec
set innerHTML 137570.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery: get html

  • get innerHTML

  • jQuery: set html

  • set innerHTML