-
Notifications
You must be signed in to change notification settings - Fork 39
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
loading ProfileView.jl kills performance for runtests.jl #123
Comments
Let me guess, you're on Windows. See JuliaGraphics/Gtk.jl#325 |
Thanks, @timholy . I sure am. I'll try running things on a different machine to see if they do better. |
Can you try on Julia 1.3 with up-to-date packages? Gtk 1.0 got released this morning, maybe it will help? |
Thanks, @timholy. I definitely will. Looks like ProfileViews is restricted to Gtk 0.18 -- does it need to get bumped to allow Gtk 1.0? |
Oh shoot, yes, thanks for noticing! May take a few days to fix, currently anything using Gtk requires manual intervention in the General registry. |
Yes, needs to be bumped. It is going to take a few more days due to errors in JuliaGizmos/GtkReactive.jl#91. Sorry I jumped the gun and forgot about the dependencies. |
I think the latest versions of Gtk fix this, and in any event this isn't technically a ProfileView issue. |
I have a suite of tests for some code that I'm working on. My
runtests.jl
include
s several different.jl
files that have tests. Each separate.jl
included puts its tests in a separate module. When I putusing ProfileView
within earlier.jl
files, it absolutely kills performance (35ms to 7s) for some of the@btime
benchmarks.If I simply comment out the
using ProfileView
, the performance hit goes away.See magerton/ShaleDrillingLikelihood.jl@6fdbe3e
I've tried coming up with a MWE, but so far haven't been able to replicate the performance hit with it. I apologize for this! However, I thought I'd report this in case anyone else runs across this issue.
Here is my attempt at a MWE, which loosely follows the structure of my original
runtests.jl
The text was updated successfully, but these errors were encountered: