Skip to content

add benchmarks for coverlet.core and coverlet.msbuild #1749

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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

Bertk
Copy link
Collaborator

@Bertk Bertk commented Apr 10, 2025

Prepare benchmark tests for coverlet.core (currently uses InProcessToolchain)
=> could be used to monitor performance regressions

  • add benchmarks tests
  • fix build warnings
  • partial update of nuget packages

Results for master branch (small updates for dotnet.benchmark)
image

Note

These benchmark test methods provide a baseline for performance monitoring. Future enhancements should include additional targeted tests for performance-critical code paths, focusing on areas like:

  • Instrumentation of large assemblies
  • Coverage data collection at runtime
  • Hit data processing and report generation
  • Memory allocation patterns

@Bertk
Copy link
Collaborator Author

Bertk commented Apr 10, 2025

Results for coverlet 6.0.1 release (small updates for dotnet.benchmark)

image

I use coverlet.core.benchmark.tests to identify the commit introducing the coverlet 6.0.2 performance regression (see PR #1689).

@Bertk Bertk marked this pull request as ready for review April 11, 2025 07:35
@Bertk
Copy link
Collaborator Author

Bertk commented Apr 12, 2025

Actual results for this PR (coverlet main branch) are:

image

@Bertk Bertk force-pushed the benchmark-branch branch from 5b00cd5 to a89879e Compare April 22, 2025 08:17
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.

3 participants