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

shards: log typeRepo sub-expression evaluation #865

Merged
merged 1 commit into from
Nov 25, 2024
Merged

Conversation

keegancsmith
Copy link
Member

It is hard to tell from net/trace how long we spend evaluating type:repo sub-expressions. This adds in extra logging for when we do that, which should help understand time taken to do this.

Test Plan: go test

Part of https://linear.app/sourcegraph/issue/SPLF-662/root-cause-why-a-not-typerepo-query-was-so-slow-on-zoekt

It is hard to tell from net/trace how long we spend evaluating type:repo
sub-expressions. This adds in extra logging for when we do that, which
should help understand time taken to do this.

Test Plan: go test
@keegancsmith keegancsmith requested a review from a team November 25, 2024 11:13
@keegancsmith keegancsmith enabled auto-merge (squash) November 25, 2024 14:12
@keegancsmith keegancsmith merged commit db940cf into main Nov 25, 2024
8 checks passed
@keegancsmith keegancsmith deleted the k/eval-trace branch November 25, 2024 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants