Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Chrome 107
Mac OS X 10.14.6
Desktop
2 years ago
Test name Executions per second
jQuery get html 88236.6 Ops/sec
get innerHTML 97483.2 Ops/sec
jQuery set html 80843.6 Ops/sec
set innerHTML 156181.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery get html

  • get innerHTML

  • jQuery set html

  • set innerHTML