Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 YaBrowser/19.6.1.153 Yowser/2.5 Safari/537.36
Yandex Browser 19
Windows 7
Desktop
3 years ago
Test name Executions per second
Class 1910818.4 Ops/sec
ID 1235305.8 Ops/sec
data attribute 1134368.9 Ops/sec
HTML Preparation code:
Tests:
  • Class

  • ID

  • data attribute