Why is juno so slow
There are some pretty big package load time regressions on 1. Peek Some good points. But look at the comparison with Sublime Text 3, same version of Julia. Atom must be putting the brakes on…. Then, when you switch to an editor, we figure out what module that file belongs to if any and statically parse all Julia code in that file and in files reachable from there to generate the outline.
All of that is fast enough once compiled, but the compilation has to happen at some point. You can also give the process cycler a go enabled by default , which makes subsequent starts of Julia basically instant: Peek Julia 1. In general, I am waiting for a fix of compilation latency. What you say makes a lot of sense.
I experienced that first hand giving a tutorial. That would also make for a much smoother experience when e. But at some point the students will fire up their own Atom and wait and wait and wait … Not a good impression will be planted in this way. My REPL also stalls when warnings from e. I should mention that the REPL doesn't stall every time - sometimes I'm allowed to get fast execution.
The text was updated successfully, but these errors were encountered:. Try this. Sorry, something went wrong. Is this only a problem with execution of code or also with user input or printing? EDIT: I did some more testing and it seems like that it is the julia-client, which causes the problem. It makes the REPL stall.
I also have the same problem. I can feel that it is a lot slower compared to the previous version before the update. Even the execution of a simple statement like. I wondered why that is. I also try install and re-install everthing still have the same problem. The easy way to solve this is to always use the current Julia release. Otherwise, resort to the Developer Installation Instructions for the Atom packages and use git to checkout an older version.
This requires some git know-how, so it's only recommended if the older version of Julia is truly necessary. If you want to use Juno with the nightly version use caution: this package is under rapid development so do so at your own risk. That being said, the Julia nightly should work using the Developer Installation Instructions. Note that this will require you to be on master for the Julia and Atom packages, so things will be changing likely before documentation changes.
This allows running code on startup that queries the frontend, e. Autocompletion is already active, but Juno needs an attached Julia session to fetch the function, struct and such definitions.
0コメント