Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.152 YaBrowser/21.2.2.101 Yowser/2.5 Safari/537.36
Yandex Browser 21
Windows
Desktop
3 years ago
Test name Executions per second
Jquery 6960.0 Ops/sec
Vanilla JS 13908.3 Ops/sec
Vanilla JS specifying ID/class 16888.9 Ops/sec
HTML Preparation code:
Tests:
  • Jquery

  • Vanilla JS

  • Vanilla JS specifying ID/class