Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:75.0) Gecko/20100101 Firefox/75.0
Firefox 75
Mac OS X 10.14
Desktop
4 years ago
Test name Executions per second
jQuery.css 510714.2 Ops/sec
getComputedStyle() 1124186.6 Ops/sec
getStyle() 999878.4 Ops/sec
getStyle2() 1120939.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()