Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36 FirePHP/4Chrome
Chrome 70
Linux
Desktop
4 years ago
Test name Executions per second
jQuery.css 199853.4 Ops/sec
getComputedStyle() 411549.5 Ops/sec
getStyle() 482375.0 Ops/sec
getStyle2() 414682.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()