-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Slowdown in Julia 0.2 #5011
Comments
Hi @magistere, since you know a good commit and bad commit, are you up to doing a git bisect? #1689 (comment) |
Thanks, Kevin. I've found the commit 9489e6a that causes this slowdown. |
cc: @JeffBezanson |
Maybe add this to our performance benchmarks? On Monday, December 2, 2013, Kevin Squire wrote:
|
this is improved in 0.3 master, but still far from the original:
|
This sort of stuff should certainly go into the perf benchmarks. |
i think we may need to make inline_worthy a little smarter: changing the threshold there from current value of 40 to 240 (tested on my jn/6599 bugfix branch) results in net smaller code generation (current testing seems to show that that number corresponds roughly to the number of assembly bytes!) and results in a net speed increase over pre-0.2 best timing. |
I am tempted to close this as a 0.2 thing, but running the code fragment here takes 15 seconds for me. |
It's pretty bad that you could get a 10x slowdown just from adding up a few things, hence it was time for an undisciplined hack.
On Julia 0.2 release I got significant slowdown in my old test script comparing with Julia 0.2-prerelease-d6f7c7c. Run time increased from 5s to 40s.
The text was updated successfully, but these errors were encountered: