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

Report LSP loading telemetry #75402

Merged
merged 7 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Cleanup
  • Loading branch information
dibarbet committed Oct 8, 2024
commit cbcfb4a70020603f2ca5e59a4295fe7eafa07b06
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@ internal class VSCodeRequestTelemetryLogger() : RequestTelemetryLogger(WellKnown
/// 2. After initial load, almost all requests should resolve to the host workspace.
/// A large amount of misc files requests in 2 could indicate either a bug or feature improvements in order to load what the user is expecting.
/// </summary>
private readonly ConcurrentDictionary<bool, CountLogAggregator<string>> _findDocumentCounters = new()
{
[true] = new(),
[false] = new(),
};
private readonly ConcurrentDictionary<bool, CountLogAggregator<string>> _findDocumentCounters = new();

public static void ReportProjectInitializationComplete()
{
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ protected virtual void ReportFindDocumentCounter()
}
}));
}
_findDocumentResults.Clear();
}

private void OnFlushed(object? sender, EventArgs e)
Expand Down Expand Up @@ -155,7 +156,6 @@ private void OnFlushed(object? sender, EventArgs e)
}

_requestCounters.Clear();
_findDocumentResults.Clear();
_usedForkedSolutionCounter.Clear();
}

Expand Down
Loading