Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Chrome 87
Linux
Desktop
3 years ago
Test name Executions per second
Javascript getelementbyid 1765072.6 Ops/sec
javascript get by class 1692626.1 Ops/sec
jquery get by id 415972.3 Ops/sec
jquery get by class 175335.8 Ops/sec
HTML Preparation code:
Tests:
  • Javascript getelementbyid

  • javascript get by class

  • jquery get by id

  • jquery get by class


;