Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove experiment for context lookup #3157

Merged
merged 1 commit into from Aug 23, 2021
Merged

Remove experiment for context lookup #3157

merged 1 commit into from Aug 23, 2021

Conversation

bwateratmsft
Copy link
Contributor

@bwateratmsft bwateratmsft commented Aug 19, 2021

Early results show that the API lookup is a clear winner. It is much faster on Windows, marginally faster on Mac, and a teeny bit slower on Linux but not enough to care (especially since, over time, Linux should be getting the daemon more broadly).

I expected the context load to be slower in cases where the API was not present--it adds the time to load that code and call the API. This does appear to be the case from the data, but is less prevalent than I expected--Mac is faster even up through the 90th percentile (as in, for at least 90% of users, this change helps) and Windows is faster up through the 95th percentile. Linux is a bit slower at the 90th percentile, but is just as fast at the 75th percentile.

This code removes the experimentation component and will always try the API lookup before a CLI lookup. Reverts part of #3102. Related to #3054.

@bwateratmsft bwateratmsft merged commit eadaa5c into main Aug 23, 2021
@bwateratmsft bwateratmsft deleted the bmw/ctxlookupexp branch August 23, 2021 12:48
@microsoft microsoft locked and limited conversation to collaborators Oct 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants