# Is this plotting time normal?

**URL:** <https://discourse.julialang.org/t/is-this-plotting-time-normal/54736>\
**Category:** General Usage\
**Created:** [February 6, 2021, 3:37pm UTC](https://discourse.julialang.org/t/is-this-plotting-time-normal/54736 "2021-02-06T15:37:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BridgeBot](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bridgebot/32/21491_2.png) [@BridgeBot](https://discourse.julialang.org/u/BridgeBot)\
**Post date:** [February 6, 2021, 3:37pm UTC](https://discourse.julialang.org/t/is-this-plotting-time-normal/54736/1 "2021-02-06T15:37:47Z")

</div>

Been using Julia for \< 1 day, so pardon any dumb questions…  
I installed the Plots package (`using Pkg; pkg.Add("Plots")`).  
(1) Then the first time I did `using Plots`, I saw "`[Info: Precompiling Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]``" for about 15-20 seconds. (2) Further, when I used `plot(x, y)` for the first time, it took about 4 seconds to plot and faster thereafter.

Q1: Is (2) just an effect of JIT? Also is ~4 seconds really the time it’ll take the first time or have I installed something incorrectly?  
Q2: What’s the reason for (2) and is the time it took normal?  
(I use Ubuntu 16.04 w/ 16GB Intel Core™ i7-6700 CPU @ 3.40GHz × 🕶

Note that the original poster on Slack cannot see your response here on Discourse. Consider _transcribing the appropriate answer back to Slack_, or pinging the poster here on Discourse so they can _follow this thread_.  
[(Original message :slack:)](https://julialang.slack.com/archives/C6A044SQH/p1612625776163700?thread_ts=1612625776.163700&cid=C6A044SQH) [(More Info)](https://github.com/JuliaCommunity/SlackBridge)

---

<div class="post-metadata">

**Author:** ![JeffreySarnoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jeffreysarnoff/32/1980_2.png) [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Post date:** [February 6, 2021, 4:16pm UTC](https://discourse.julialang.org/t/is-this-plotting-time-normal/54736/2 "2021-02-06T16:16:45Z")

</div>

Many parts of the Plots package are precompiled the first time you enter `using Plots`. This work takes a handful of seconds, as you experienced. For similar reasons, when you start a Julia session and make an initial plot there is a few seconds’ delay. Subsequent plots come up quickly.
