-
Notifications
You must be signed in to change notification settings - Fork 66
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
NLsolve significantly slower on 0.5 #49
Comments
This is sligtly better now on master. julia> @time for i in 1:10^4 nlsolve(df!, x0, method = :newton) end
0.856573 seconds (5.28 M allocations: 96.436 MB, 2.41% gc time) Still bad though. |
Commenting out these two lines which are the only problematic ones (inferred as Any) on master gives: julia> @time for i in 1:10^4 nlsolve(df!, x0, method = :newton) end
0.264198 seconds (4.62 M allocations: 97.046 MB, 4.19% gc time) Without them commented out: julia> @time for i in 1:10^4 nlsolve(df!, x0, method = :newton) end
0.397250 seconds (4.67 M allocations: 98.114 MB, 2.91% gc time) |
This is fixed now. |
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Making this to track regression in master and to make people aware
On 0.4.3:
0.292429 seconds (5.31 M allocations: 123.749 MB, 10.00% gc time)
On master:
1.336571 seconds (5.53 M allocations: 101.471 MB, 2.06% gc time)
I believe this is because we are mutating a variable inside a closure which is slow in 0.5.. see JuliaLang/julia#15276
The text was updated successfully, but these errors were encountered: