Is there any way to improve the start time of Juno

juno

#1

The time of running the first line of Julia code in Juno is quite long. During the waiting time, it shows “INFO: Loading HttpServer methods…”. Is there any way to make the first run faster. Thanks


#2

Juno cycles different processes so that way there’s one already waiting if you kill the process.


#3

Can one tell Juno to also start loading some packages? Just the Julia startup file maybe? Or maybe there could be a local Juno startup file?


#4

Sure: http://docs.junolab.org/latest/man/faq.html#How-do-I-execute-code-on-Juno-startup?-1
Everything in .juliarc.jl is executed whenever a new Julia process is started, while everything in .junorc.jl is executed once the julia process is connected to Atom.

Juno boots much faster on 0.7 for me (typically in less than 5 seconds on a pretty old laptop for me).


#5

Out of curiosity, given that starting out Juno prints loading HttpServer methods, how can Juno work on 0.7 when HttpServer does not? Did the dependency become unnecessary?


#6

Yeah, Juno won’t depend on Blink.jl anymore, so we’re dropping a couple of big dependencies (which dramatically improves load times).


#7

Thank you so much! Waiting for the new version.


#8

I have updated to the new version and the speed is still similar. Hope it could be quick using Julia 0.7. Thanks for your efforts!


#9

Right, it’s only faster on Julia 0.7.


#10

This should be much better now that the new version is out and works on Julia 1.0. Let me know how it goes!