These are very interesting observations. I started a question here:
Hi, I have a larger Gtk.jl application that requires more than one minute to start up. If I press some buttons, the initial compile time is also quite high. However, if I run the application a second time everything is totally snappy. So runtime is absolutely ok.
I was wondering if it actually helps when I try to make code type stable. So is type stable code faster to compile?
and
Hi,
I have a performance issue that may be linked to Gtk.jl. My application needs 30 sec to start up the first time and profiling tells me that most of the time is spend in inference. The app is a little larger so that some dynamic typing (e.g. when using Dicts) cannot be avoided.
The inference call is triggered from this line in Gtk.jl
https://github.com/JuliaGraphics/Gtk.jl/blob/master/src/GLib/signals.jl#L11
it involves a cfunction so it may be linked to Performance regression of Cuba.jl …
and
Don’t know if this is the correct category but maybe:
Since Julia 0.6 has been released I have seen major performance issues with Julia. After analyzing the issue a little bit I found out that it seems the compile performance that has regressed a lot. It seems that during the transition from 0.5 to 0.6 this has not been observed and I cannot really find deeper discussions on this subject.
I now have some examples the regressed and I wonder if there is some “compiler benchmark suite” where the …
ad never got the answer that type inference itself is the problem. Would it be possible taking @ChrisRackauckas suggestions and putting them into the “performance tipps” section of the manual?
2 Likes