You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CSS is definitely getting smoked by XPath, there's no question of that. Maybe more than 1000 iterations need to be run to get more stable results amongst the other searches?
What's interesting to me is how different the results can be between runs. Compare https://gist.github.com/814429#file_benchpress_more_specific_02.md and https://gist.github.com/814429#file_benchpress_more_specific.md. Same tests are being run, but suddenly the "html>head>title" selector becomes the slowest. There seems to be a lot of variability in the performance of CSS selectors that I wouldn't expect.
CSS is definitely getting smoked by XPath, there's no question of that. Maybe more than 1000 iterations need to be run to get more stable results amongst the other searches?