Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36
Chrome 75
Windows
Desktop
3 years ago
Test name Executions per second
jQuery.css 253206.9 Ops/sec
getComputedStyle() 526218.4 Ops/sec
getStyle() 723650.2 Ops/sec
getStyle2() 590987.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()