4 ms·
https://www.sitepoint.com/optimizing-css-id-selectors-and-other-myths/ https://www.sitepoint.com/optimizing-css-id-selectors-and-ot... The slowest and most con
by albedoa 6y ago
https://www.sitepoint.com/optimizing-css-id-selectors-and-other-myths/ https://www.sitepoint.com/optimizing-css-id-selectors-and-ot...
The slowest and most convoluted selector took 21ms when tested against 50,000 elements using a 2014 MacBook Pro.
- rasz 6y ago20ms for one call over 50000 elements, on a 2.6GHz cpu capable of 4 IPC. 50-200K instructions per element. Truly we are living in the future :)