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

Refactor dotTrace and dotMemory diagnosers #2627

Merged
merged 1 commit into from
Aug 28, 2024
Merged

Conversation

AndreyAkinshin
Copy link
Member

All the common logic of profilers moved into SnapshotProfilerBase which is the base for DotMemoryDiagnoser and DotTraceDiagnoser. The common class is inside the main package, so it can be reused by other tools (not only by JetBrains, applicable for any command-line profiler). The dotTrace/dotMemory diagnoser classes have unique simple implementation. IsSupported is duplicated on purpose since future versions of dotTrace and dotMemory may have different sets of supported runtimes.

All the common logic of profilers moved into `SnapshotProfilerBase` which is the base for `DotMemoryDiagnoser` and `DotTraceDiagnoser`. The common class is inside the main package, so it can be reused by other tools (not only by JetBrains, applicable for any command-line profiler). The dotTrace/dotMemory diagnoser classes have unique simple implementation. `IsSupported` is duplicated on purpose since future versions of dotTrace and dotMemory may have different sets of supported runtimes.
@AndreyAkinshin AndreyAkinshin merged commit 92f33f2 into master Aug 28, 2024
14 checks passed
@AndreyAkinshin AndreyAkinshin deleted the dotprofilers branch August 28, 2024 07:39
@AndreyAkinshin AndreyAkinshin added this to the v0.14.1 milestone Aug 28, 2024
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.

1 participant