Profiling funny results when sampling rates align #75895
Labels
>bug
:Search/Search
Search-related issues that do not fall into other categories
Team:Search
Meta label for search team
I was looking at some profiles results that involved
LongDistanceFeatureQuery
and saw super high timing onsetMinCompetitiveScore
. I had a look at the method and realized that it goes into a sampling mode:Our times uses a sampling mode already:
These sampling modes are both powers of two -
setMinCompetitiveScore
is 32 and we're, well, what the comment says. I think we're overestimate the cost of this method because we'll line up with its counter more often than random.The text was updated successfully, but these errors were encountered: