# Building a PC optimized for "time to first plot"

**URL:** <https://discourse.julialang.org/t/building-a-pc-optimized-for-time-to-first-plot/88801>\
**Category:** Performance\
**Created:** [October 16, 2022, 12:05pm UTC](https://discourse.julialang.org/t/building-a-pc-optimized-for-time-to-first-plot/88801 "2022-10-16T12:05:52Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Krastanov](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/krastanov/32/6817_2.png) [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Post date:** [October 16, 2022, 4:21pm UTC](https://discourse.julialang.org/t/building-a-pc-optimized-for-time-to-first-plot/88801/9 "2022-10-16T16:21:27Z")

</div>

I am not sure whether I am interpreting your question correctly, but I think the answer is yes. Here is an example with Makie:

With a sysimage that took just a couple of clicks to prepare in vscode:

```julia
julia> @time @eval using CairoMakie
  0.008680 seconds (14.54 k allocations: 927.412 KiB)

julia> @time plot([1,2,3])
  2.082096 seconds (1.94 M allocations: 130.274 MiB, 2.15% gc time, 37.41% compilation time)

```

Without a custom sysimage:

```julia
julia> @time @eval using CairoMakie
 13.082514 seconds (17.49 M allocations: 1.247 GiB, 4.57% gc time, 3.01% compilation time: <1% of which was recompilation)

# don't even bother actually making the first plot, it takes more than 30 seconds

```

---

_[View the full topic](https://discourse.julialang.org/t/building-a-pc-optimized-for-time-to-first-plot/88801)._
