-
-
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
Performance problems of Julia #29078
Comments
If you are using Juno IDE, then |
Thanks for providing the benchmarks. However, this discussion is better suited for discourse.julialang.org |
Wrong optimization Correct optimization
|
No, julia does not have a GIL. There is experimental multi-threading support (https://docs.julialang.org/en/v1/base/multi-threading/); more is currently under development. See https://docs.julialang.org/en/v1/manual/profile/ for information on the profiler. It seems quite possible to me there are real performance issues here, and this should perhaps be reopened. |
The use of a non- |
For this to be reopened, I think the code should at least be written with some consideration to the performance guidelines we have. |
@AlphaFase, please see https://docs.julialang.org/en/v1/manual/performance-tips/ (hint: you're violating at least performance tip number 1 😄) |
Destructuring does not use splatting. I'm also pretty sure |
Might also be worth mentioning that the first Python version shared had some parts commented out that made it much faster but not comparable to the Julia version. It has since been fixed but I first benchmarked the wrong version. I'm not sure about the rules of the game here but using typed vector of tuples instead of an Any vector of Any vectors also gave about 2x for me. Finally, it would really be nice to have #28648 fixed for situations like these since right now it's basically impossible to use Juno's flame graphs which, I think, is normally our best profiling tool. |
project: test
python: 6 sec
julia: 11 sec
Dynamic array performance is not as good as python, only using single core CPU. Does Julia also have a GIL lock?
Is there a performance analysis tool similar to Python cProfile?
Julia's performance analysis tool is either inaccessible or inhumanized.
The text was updated successfully, but these errors were encountered: