-
-
Notifications
You must be signed in to change notification settings - Fork 963
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
RPlotExporter hanging #641
Comments
@bonesoul, which version of BenchmarkDotNet do you use? And which OS? |
0.10.12 from nuget. |
Hi @bonesoul I just faced the same problem. It turns out that I had a fresh Workaround: Find your location of the Example: it's going to download all the packages and export the plots. Next time you won't need that, it will work OOB with BenchmarkDotNet. |
Today I also faced this problem (BechnmarkDotNet-0.11.1, Win10-x64, R-3.4.1). In my case just running
I guess, the last two steps should be sufficient (which I cannot verify at the moment). |
I ran into this issue using R 3.5.2 and BenchmarkDotNet 0.11.3. When running the benchmark executable, it got hung up when building the R script with the console visible. The litmus test for R script completion I'm using is whether I can open the PDF generated by the R script. When it hung and I couldn't open the PDF, I hit "Ctrl+C" with the console active, which killed the benchmark executable, but the R script became unhung and finished the operation. To diagnose, I created a benchmark (lots of parameters) which creates 312 images, and therefore a lot of stdout from the R process. It appears that stdout redirection is what causes the hang, or something related to the stdout stream. After successfully running my benchmark application to generate the csv and R script, I commented out the benchmark and ran the following method instead. Trial Number - Result
|
I modified my test to better reflect Trial Number - Result @AndreyAkinshin Code:
|
I have the impression that the R script is waiting for user input at some point. If you Ctrl+C in the terminal, R stops hanging and all the plots start appearing... |
@mstaessen I can confirm that is the case. It hung for me and Ctrl+C stopped RScript.exe and finished the plots |
It happened to me the first benchmark run, after that seems to be working. Any permanent solution for this? |
Changed process stdout/stderr buffer to external buffer.
and then it hangs?
The text was updated successfully, but these errors were encountered: