Skip to content

Conversation

@TheAngryByrd
Copy link
Member

@TheAngryByrd TheAngryByrd commented Jul 9, 2023

WHAT

🤖 Generated by Copilot at 42a3f7f

This pull request simplifies the logging system by removing the Debug module and the compiler event listener. This reduces the code complexity and improves the performance of the FsAutoComplete project. The changes affect the files Debug.fs and Parser.fs.

🤖 Generated by Copilot at 42a3f7f

Debug module gone
Logging system refactored
Spring cleaning code base

🗑️⚡🛠️

WHY

The source was removed in dotnet/fsharp#13835 in favor of OpenTelemetry Activities.

Also this causes a ton of garbage logs when connecting with dotnet-counters

HOW

🤖 Generated by Copilot at 42a3f7f

  • Remove Debug module and LogCompilerFunctionId type, which logged compiler events (link, link)

@TheAngryByrd TheAngryByrd force-pushed the remove-old-eventlistener branch from 42a3f7f to 2df1b7c Compare July 9, 2023 15:16
@TheAngryByrd TheAngryByrd requested a review from baronfel July 9, 2023 15:17
Copy link
Contributor

@baronfel baronfel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥🔥🔥🔥

@TheAngryByrd TheAngryByrd merged commit 4472d83 into ionide:main Jul 9, 2023
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