# First command is slow after loading Plots.jl

**URL:** <https://discourse.julialang.org/t/first-command-is-slow-after-loading-plots-jl/15375>\
**Category:** General Usage\
**Created:** [September 23, 2018, 11:13am UTC](https://discourse.julialang.org/t/first-command-is-slow-after-loading-plots-jl/15375 "2018-09-23T11:13:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christopher\_Fisher](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/christopher_fisher/32/26132_2.png) [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Post date:** [September 23, 2018, 11:13am UTC](https://discourse.julialang.org/t/first-command-is-slow-after-loading-plots-jl/15375/1 "2018-09-23T11:13:20Z")

</div>

Hi all-

I have noticed a long lag (approximately 3-5 seconds) for the first command after entering ` using Plots`. The timing below is misleading because Julia continues to run after printing.

```julia
julia> using Plots

julia> @time x = 1
  0.000001 seconds (4 allocations: 192 bytes)

```

I tried to reproduce this behavior by loading other packages, but have not yet been successful. Does anyone know why this occurs?

Info: ` Ubuntu 16.04, Julia .7, [91a5bcdd] Plots v0.19.3`

---

<div class="post-metadata">

**Author:** ![Christopher\_Fisher](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/christopher_fisher/32/26132_2.png) [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Post date:** [September 23, 2018, 1:05pm UTC](https://discourse.julialang.org/t/first-command-is-slow-after-loading-plots-jl/15375/2 "2018-09-23T13:05:33Z")

</div>

After updating to 1.0 from .7, I was unable to reproduce this behavior. So it appears to be specific to .7.
