-
-
Notifications
You must be signed in to change notification settings - Fork 957
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
Build errors after installing BenchMarkDotNet nightly build #1875
Comments
Hi @bradykelly
|
Thanks, things are looking better, but now it hangs on
It started, built its project fine, then started on the 1st benchmark and just hung for several minutes until I hit Ctrl+C. The code being benchmarked executes in about 1 second or less in Debug mode. This is my setup, if it helps:
|
It seems it isn't hanging, just taking horrifically long doing something. I started my benchmark run about 45 minutes ago and so far have this output:
That's 1800+ seconds, or 30 minutes, for |
@bradykelly have you tried attaching a debugger to the benchmark process? (not the host process, but to the benchmark process). Here is how you can do it: https://benchmarkdotnet.org/articles/guides/troubleshooting.html#launch-a-debugger-from-the-benchmark-process-using-debugger-api |
As told, under Attach a debugger from IDE I've added this to my GlobalSetup method:
Then launched the process from within VS using Start without debugging and the BDN "child" process seems to be waiting, as it hasn't started any benchmarking work yet, like it has done prior to my edit. Then I attached to the only process I could find with a Now I don't know what to do next. In the IDE that is attached to the process, I hit Pause and I get the following message: Would it help any if I told you that BDN still works fine on other classes, but the class I am trying to benchmark is the first one I have tried where the benchmarked method uses recursion? I am currently busy with my next class that uses recursion and I will also try and benchmark that and see what happens. |
Based on your recommendation in #1872, I have just installed the nightly build
v0.10.3.13-nightly
, and I now get the following build errors where I am trying to use BDN attributesGlobalSetup
andGlobalCleanup
:I may have installed the incorrect nightly build version, but after adding the
bdn-nightly
package source, browsing that source with VS Nuget Package Manager didn't show any packages at all. So I used the package name and version given on your guide to installing nightly builds and installed the package via Package Manager Console.The text was updated successfully, but these errors were encountered: