# Problem of first plot? can be better?

**URL:** <https://discourse.julialang.org/t/problem-of-first-plot-can-be-better/35064>\
**Category:** General Usage\
**Created:** [February 24, 2020, 7:57am UTC](https://discourse.julialang.org/t/problem-of-first-plot-can-be-better/35064 "2020-02-24T07:57:12Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darione](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/darione/32/12160_2.png) [@Darione](https://discourse.julialang.org/u/Darione)\
**Post date:** [February 24, 2020, 7:57am UTC](https://discourse.julialang.org/t/problem-of-first-plot-can-be-better/35064/1 "2020-02-24T07:57:12Z")

</div>

Is there an improvement in the first plot problem in Julia’s road map?

I ported a text search program, with its web interface (with Genie) and it works very well, a missile like speed once the first compilation started … but I wait 29 seconds (!) Before having the web interface ready to use … it is really a lot, having an excellent pc windows 10, i5 with 16G ram and SSD.

But are improvements expected in this regard? I’d like to adopt Julia for certain scripting jobs, where speed is needed, but the first launch is really problematic.

And if I tried Julia in Raspberry, which I often use, what compilation times I should expect, I wonder …

---

<div class="post-metadata">

**Author:** ![tim.holy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tim.holy/32/52_2.png) [@tim.holy](https://discourse.julialang.org/u/tim.holy)\
**Post date:** [February 24, 2020, 7:58am UTC](https://discourse.julialang.org/t/problem-of-first-plot-can-be-better/35064/2 "2020-02-24T07:58:46Z")

</div>

Try searching this forum for “first plot.”

---

<div class="post-metadata">

**Author:** ![simeonschaub](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/simeonschaub/32/216566_2.png) [@simeonschaub](https://discourse.julialang.org/u/simeonschaub)\
**Post date:** [February 24, 2020, 8:12am UTC](https://discourse.julialang.org/t/problem-of-first-plot-can-be-better/35064/3 "2020-02-24T08:12:43Z")

</div>

For your use case, you might want to take a look at

> **[GitHub - JuliaLang/PackageCompiler.jl: Compile your Julia Package](https://github.com/JuliaLang/PackageCompiler.jl)**
>
> Compile your Julia Package. Contribute to JuliaLang/PackageCompiler.jl development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![essenciary](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/essenciary/32/210469_2.png) [@essenciary](https://discourse.julialang.org/u/essenciary)\
**Post date:** [February 25, 2020, 6:03pm UTC](https://discourse.julialang.org/t/problem-of-first-plot-can-be-better/35064/4 "2020-02-25T18:03:59Z")

</div>

Are you on the latest/recent Genie version? There have been considerable improvements in both performance and (pre)compilation in the last few releases.

---

<div class="post-metadata">

**Author:** ![Darione](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/darione/32/12160_2.png) [@Darione](https://discourse.julialang.org/u/Darione)\
**Post date:** [February 25, 2020, 9:22pm UTC](https://discourse.julialang.org/t/problem-of-first-plot-can-be-better/35064/5 "2020-02-25T21:22:14Z")

</div>

Mmm …  
Pardon me, but if i have yet installed Genie Package, and i want to update it, i have to redo Pkg.add(“Genie”) again, or i must use another command?

---

<div class="post-metadata">

**Author:** ![duncanam](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/duncanam/32/10669_2.png) [@duncanam](https://discourse.julialang.org/u/duncanam)\
**Post date:** [February 25, 2020, 10:02pm UTC](https://discourse.julialang.org/t/problem-of-first-plot-can-be-better/35064/6 "2020-02-25T22:02:13Z")

</div>

I believe you can utilize `Pkg.update("Genie")` for just that package, or `Pkg.update()` to update everything.

---

<div class="post-metadata">

**Author:** ![Darione](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/darione/32/12160_2.png) [@Darione](https://discourse.julialang.org/u/Darione)\
**Post date:** [February 25, 2020, 10:21pm UTC](https://discourse.julialang.org/t/problem-of-first-plot-can-be-better/35064/7 "2020-02-25T22:21:13Z")

</div>

I am disinstalling everything … i will reinstall Julia …

---

<div class="post-metadata">

**Author:** ![Yifan\_Liu](https://avatars.discourse-cdn.com/v4/letter/y/4da419/32.png) [@Yifan\_Liu](https://discourse.julialang.org/u/Yifan_Liu)\
**Post date:** [February 25, 2020, 10:36pm UTC](https://discourse.julialang.org/t/problem-of-first-plot-can-be-better/35064/8 "2020-02-25T22:36:27Z")

</div>

I am using a desktop with i9 9900k and 128gb ram and ssd, but the plotting with Plots is still much slower than ggplot2. I thought upgrading hardware could solve this problem…

---

<div class="post-metadata">

**Author:** ![Darione](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/darione/32/12160_2.png) [@Darione](https://discourse.julialang.org/u/Darione)\
**Post date:** [February 26, 2020, 12:55pm UTC](https://discourse.julialang.org/t/problem-of-first-plot-can-be-better/35064/9 "2020-02-26T12:55:26Z")

</div>

Hello,  
I privately sent you a link to download my little Genie app. If I don’t disturb you too much you could take a look at it and understand why I have so long launch times … maybe I’m wrong something (for sure).

Maybe you understand immediately what I did wrong …

Many many thanks!

---

<div class="post-metadata">

**Author:** ![Balinus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/balinus/32/243_2.png) [@Balinus](https://discourse.julialang.org/u/Balinus)\
**Post date:** [February 26, 2020, 2:14pm UTC](https://discourse.julialang.org/t/problem-of-first-plot-can-be-better/35064/10 "2020-02-26T14:14:16Z")

</div>

If your benchmark is “speed of Plots loading time vs ggplot2 loading time”, hardware upgrade is not a solution.

---

<div class="post-metadata">

**Author:** ![Darione](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/darione/32/12160_2.png) [@Darione](https://discourse.julialang.org/u/Darione)\
**Post date:** [February 27, 2020, 10:25pm UTC](https://discourse.julialang.org/t/problem-of-first-plot-can-be-better/35064/11 "2020-02-27T22:25:37Z")

</div>

Thanks for the help.

I am still a little broken on the package compiler, but I will postpone a little, to devote myself to learning the basics of Julia a little better instead.

Now my web app works well, and it’s faster. Adrian, the creator of Genie, helped me. Genie, i think, is a great tool, which works very well in the test i have made today, it’s just me who has to undeerstand it better).
