Run details:
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0
Firefox 46
Windows 8.1
Other
8 years ago
Test name Executions per second
jQuery change CSS one element 290090.9 Ops/sec
Javascript change CSS one element 536385.1 Ops/sec
jQuery change CSS several elements 4316.4 Ops/sec
Javascript change CSS several elements 6942.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery change CSS one element

  • Javascript change CSS one element

  • jQuery change CSS several elements

  • Javascript change CSS several elements