Is >5 min startup considered slow?

Hi,

Activating Extensions...
Starting Julia Language server
2:20
Julia Language Server: Indexing packages...
8:12

VScode closed and started again

Activating Extensions...
Starting Julia Language server
0:42
Julia Language Server: Indexing packages...
5:40
Gui responsive, Julia evaluates.

julia> VERSION
v"1.7.0-rc1
  [6e4b80f9] BenchmarkTools v1.2.0
  [13f3f980] CairoMakie v0.6.5
  [e9467ef8] GLMakie v0.4.6
  [4b11ee91] Gaston v1.0.4
  [a2bd30eb] Graphics v1.1.1
  [4c0ca9eb] Gtk v1.1.9
  [d0351b0e] InspectDR v0.4.3
  [c3a54625] JET v0.5.0
  [ee78f7c6] Makie v0.15.2
  [961ee093] ModelingToolkit v6.6.0
  [f0f68f2c] PlotlyJS v0.18.8
  [91a5bcdd] Plots v1.22.6
  [c46f51b8] ProfileView v0.6.10
  [295af30f] Revise v3.1.20
  [90137ffa] StaticArrays v1.2.13
  [276b4fcb] WGLMakie v0.4.6
  [bd07be1c] Winston v0.15.2

Any hint to bring this time down appreciated.

To me it takes “nothing”. So probably there is some problem there. The Julia server starts loading but in background and the interface is instantly responsive, I do not notice any lag.

edit: the Language sever and “indexing” here take about 30s, but I had never noticed that before, because they happen in the background and I can start working with the code almost instantly.

1 Like

Hmm. I threw out all VScode extensions, now I am at 2 min after hitting the run triangle before evaluation starts. Can edit before, still showing Indexing… after evaluations.

Uhm… actually really it is pretty quick: gravacao-2021-10-13_10.50.34.mp4 - Google Drive

I’m on Linux Mint 20.2, and my VSCode extensions are:

Below 20s, you got the heart, I am getting jealous.
Dell laptop with i7 @2.6GHz.

Mine is a similar Samsung (3ys old). Probably not hardware related (SSD disk here).

Windows or Linux?

Win10, SSD

I wonder if its related to the slowdowns that made them change pkg in 1.7, something about virus checkers slowing access to trees of many files

1 Like

I switched back to 1.62. Letting indexing finish.
Restarted, took 1:40 min to eval and started to index another package.
It ain’t over till… when?

Briefly turn off your virus checker and see if it’s dramatically faster.

Not possible :slight_smile:

Which virus checker do you use? perhaps someone else can test this?

Symantec Endpoint Protection

Removed .julia (was 6GB for 1.62 and 1.7).
Removed 1.62.

(@v1.7) pkg> st
      Status `C:\Users\xxx\.julia\environments\v1.7\Project.toml`
  [e9467ef8] GLMakie v0.4.6

2:10 min till start evaluation (no plot, Makie etc.)
No change.

What happens at the command line? Is this a Julia thing or a vscode thing?

Did you try out Atom and it has the same startup time?

Do you have a lot of julia files in your VSCode workspace?

Below 1 sec running a script via command line. So…

I had only a short encounter with Atom, then switched to VSCode. I do not remember.

Do you have a lot of julia files in your VSCode workspace?

8 directories, 50 files or so.

Jeff saw up to 20 min…