jQuery 3.3.1 selector vs document.querySelector
Comparing speed of jQuery 3.3.1 selector and vanilla JS querySelector
3 years ago
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36
Test name |
Executions per second |
jQuery 3.3.1 |
759197.6 Ops/sec |
Vanilla JS |
1139768.0 Ops/sec |
Open this result on MeasureThat.net