Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/79.0.3945.79 Chrome/79.0.3945.79 Safari/537.36
Chromium 79
Ubuntu
Desktop
4 years ago
Test name Executions per second
jQuery.css 254689.3 Ops/sec
getComputedStyle() 673743.4 Ops/sec
getStyle() 836353.1 Ops/sec
getStyle2() 741416.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()