# Is it normal for the Julia language server to take ~20 s to start up?

**URL:** <https://discourse.julialang.org/t/is-it-normal-for-the-julia-language-server-to-take-20-s-to-start-up/109683>\
**Category:** Tooling\
**Tags:** question, emacs, languageserver\
**Created:** [February 3, 2024, 8:09pm UTC](https://discourse.julialang.org/t/is-it-normal-for-the-julia-language-server-to-take-20-s-to-start-up/109683 "2024-02-03T20:09:26Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ffevotte](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ffevotte/32/6587_2.png) [@ffevotte](https://discourse.julialang.org/u/ffevotte)\
**Post date:** [February 5, 2024, 10:58am UTC](https://discourse.julialang.org/t/is-it-normal-for-the-julia-language-server-to-take-20-s-to-start-up/109683/4 "2024-02-05T10:58:59Z")

</div>

> [@tokujin](#):
>
> I have Julia v. 1.9.2.

IIRC, 1.9 was already faster than previous versions. But I think v1.10 introduced new improvements in terms of startup times.

> [@tokujin](#):
>
> wondering if caching has some problems.

It might simply be that caching is not finished, but AFAIU this does not prevent the language server to start. It merely reduces its usefulness until all packages are correctly indexed.

> [@tokujin](#):
>
> I put it in a `(with-eval-after-load 'julia-mode …)` form, but I’m not 100% sure about this choice.

It looks like what you’re doing is OK.

  

If you’re still bothered about startup times, you can try updating everything:

1. update Julia to v1.10
2. update the version of `LanguageServer.jl` internally used by `eglot-jl`.

There are several ways to update the `LanguageServer`. If you don’t want to risk breaking your existing installation of `eglot-jl`, one way could be along the lines of

```shell
shell$ mkdir -p some/path/of/your/choosing/eglot-jl-env
shell$ cd some/path/of/your/choosing/eglot-jl-env
shell$ julia --project=. -e 'import Pkg; Pkg.add(["LanguageServer", "SymbolServer"])'

```

And then in your emacs config:

```elisp
(setq eglot-jl-language-server-project
      "some/path/of/your/choosing/eglot-jl-env")

```

---

_[View the full topic](https://discourse.julialang.org/t/is-it-normal-for-the-julia-language-server-to-take-20-s-to-start-up/109683)._
