Skip to content

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
@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