I created an issue regarding the performance regression loading precompiled
packages:
https://github.com/JuliaLang/julia/issues/18030
Uwe
On Saturday, August 13, 2016 at 6:19:42 PM UTC+2, Uwe Fechner wrote:
>
> Hello,
>
> sorry for the late reply. I did the profiling now, but on a different
> machine. Here the results:
>
> Julia 0.5.0-rc2
> @time include("Plotting.jl")
> 11.840783 seconds (7.71 M allocations: 402.976 MB, 2.82% gc time)
>
> You can find the profile in the attached file
> Julia_profile_0.5.0rc2.txt.zip.
>
>
> Julia 0.4.6
> @time include("Plotting.jl")
> 6.501451 seconds (6.75 M allocations: 286.402 MB, 1.60% gc time)
>
> You can find the profile in the attached file Julia_profile_0.4.6.txt.zip.
>
> One thing, I noticed is that most of the time is spent in the file
> inference.jl .
>
> Best regards:
>
> Uwe Fechner
>
> Am 12.08.2016 um 19:05 schrieb Tony Kelman:
>
> Could you try to profile and see where the time is spent? LLVM 3.7 (used
> on 0.5) is known to be significantly slower in compile time than LLVM 3.3
> (used on 0.4).
>
>
> On Friday, August 12, 2016 at 8:52:42 AM UTC-7, Uwe Fechner wrote:
>>
>> Thanks your hard work!
>>
>> Nevertheless I am a little bit disappointed with the time, needed for
>> including my own code.
>> With Julia 0.5.0rc2 it needs 11.5 s, with Julia 0.4.6 it was only 6.34 s.
>> Is this to be expected?
>>
>> I am using packages like PyPlot and JuMP, but I think they are
>> precompiled.
>>
>> (On Ubuntu 16.06, 64 bits).
>>
>> Julia 0.5.0 rc2
>>
>> julia> tic();include("Plotting.jl");toc()
>> Min (nonlinear expression)
>> Subject to
>> 1 nonlinear constraint
>> 0.15 ≤ area ≤ 2500
>> 60 ≤ height ≤ 500
>> elapsed time: 11.500368527 seconds
>> 11.500368527
>>
>> julia> tic();aenarete();toc()
>>
>>
>> ******************************************************************************
>> This program contains Ipopt, a library for large-scale nonlinear
>> optimization.
>> Ipopt is released as open source code under the Eclipse Public License
>> (EPL).
>> For more information visit http://projects.coin-or.org/Ipopt
>>
>> ******************************************************************************
>>
>> elapsed time: 7.29577799 seconds
>> 7.29577799
>>
>>
>> ------------------------------------------------------------------------------
>>
>> Julia 0.4.6
>>
>> julia> tic();include("Plotting.jl");toc()
>> Min (nonlinear expression)
>> Subject to
>> 1 nonlinear constraint
>> 0.15 ≤ area ≤ 2500
>> 60 ≤ height ≤ 500
>> elapsed time: 6.347609088 seconds
>> 6.347609088
>>
>> julia> tic();aenarete();toc()
>>
>>
>> ******************************************************************************
>> This program contains Ipopt, a library for large-scale nonlinear
>> optimization.
>> Ipopt is released as open source code under the Eclipse Public License
>> (EPL).
>> For more information visit http://projects.coin-or.org/Ipopt
>>
>> ******************************************************************************
>>
>> elapsed time: 6.116511336 seconds
>> 6.116511336
>>
>
>