JunoLab / atom-ink

IDE toolkit for Atom
MIT License
228 stars 40 forks source link

Improve package load time #144

Open pfitzseb opened 6 years ago

pfitzseb commented 6 years ago

ink is sitting at ~200ms for me, which seems pretty excessive (considering that atom-ide-ui for example only takes ~50ms).

ahogen commented 6 years ago

I get even worse! Granted, I have some other large apps open right now so maybe my hard drive was being used at the time. However, literally all the worst times are related to Juno/Julia/Ink... ☹️

capture

pfitzseb commented 6 years ago

Ouch, that looks horrible.

dpo commented 5 years ago

The load time has become absolutely astounding. The Ink load time is more than double the load time of all the other packages I use that take more than 5ms to load combined, and about 1.5 times more than the load time of all the packages I use combined!

screen shot 2018-07-23 at 11 26 00

pfitzseb commented 5 years ago

Oh wow, that's really bad. Will look into it soon.

pfitzseb commented 5 years ago

Lazy loading FTW: image

I'll release a new version tomorrow. :)

pfitzseb commented 5 years ago

Okay, that was a bit too optimistic -- the best I have now which also doesn't break anything is image

In the screenshot in the post above I accidentally broke deserialization of the terminal, plot pane etc. pp., which obviously makes things much faster.

aminya commented 4 years ago

For me, ink was 200 ms for the first boot, but next times around 130 ms.

image

I believe we should disable the linter inside ink and instead contribute to linter-julia to improve the speed a little https://atom.io/packages/linter-julia Setting up a language server would be easy, and we can use the same UI that other languages use in Atom, to save some speed instead of creating a separate UI for julia

aminya commented 4 years ago

Atom-ide-ui package that provides almost the same features have 1/4 of the load time of atom-ink: image