Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36
Chrome 80
Linux
Desktop
4 years ago
Test name Executions per second
jQuery.css 215649.2 Ops/sec
getComputedStyle() 554173.3 Ops/sec
getStyle() 619117.5 Ops/sec
getStyle2() 629971.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()