You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actual behavior
Attaching to process after a few min of running, shows it is "stuck" here (starting and pausing again, clearly shows it is still progressing through the loop, but it doesn't seem to ever finish):
Configuration (please complete the following information):
Please provide more information on your .NET configuration:
* Which coverlet package and version was used? 6.0.0, but 3.20 has same problem
* Which version of .NET is the code running on? dotnet 8, msbuild 17.8
* What OS and version, and what distro if applicable? Can repro on both windows 11 and in linux docker build
* What is the architecture (x64, x86, ARM, ARM64)? x64
The text was updated successfully, but these errors were encountered:
I tried to create a repro for that (https://github.com/daveMueller/Coverlet_Issue_1573) but couldn't fully reproduce the described behavior. In the end it is the source generator from NetEscapades.EnumGenerators that increases instrumentation time as it generates around 3500 lines that all have sequence and branch points that we use to inject our tracker.
Best practice is to filter out source generators anyway because it's not possible to collect coverage for them.
I added more information to the mentioned repo.
I will close this issue for now as the instrumentation works as expected. If I missed something or am doing something wrong in the repro, please feel free to reopen this issue again.
Describe the bug
Some code constructs are extremely slow to Instrument:
Adding a couple of hundred enum values will make coverage take 30 minutes to complete the setup phase.
To Reproduce
Expected behavior
Tests finish in 0.1msec
Actual behavior
Attaching to process after a few min of running, shows it is "stuck" here (starting and pausing again, clearly shows it is still progressing through the loop, but it doesn't seem to ever finish):
Configuration (please complete the following information):
Please provide more information on your .NET configuration:
* Which coverlet package and version was used? 6.0.0, but 3.20 has same problem
* Which version of .NET is the code running on? dotnet 8, msbuild 17.8
* What OS and version, and what distro if applicable? Can repro on both windows 11 and in linux docker build
* What is the architecture (x64, x86, ARM, ARM64)? x64
The text was updated successfully, but these errors were encountered: