# \#ttfp

**URL:** https://discourse.julialang.org/tag/ttfp/930.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Mystery of invalidations in V\>1.10. Even in precompiled code](https://discourse.julialang.org/t/mystery-of-invalidations-in-v-1-10-even-in-precompiled-code/132081)

<div class="topic-metadata">

**Author:** [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Replies:** 10\
**Last updated:** [September 7, 2025, 3:42pm UTC](https://discourse.julialang.org/t/mystery-of-invalidations-in-v-1-10-even-in-precompiled-code/132081 "2025-09-07T15:42:15Z")

</div>

I have reported before the very large degradation in TTFP in GMT for version 1.11 and later. One example as reminder | | |\_| | | | (\_| | | Version 1.10.10 (2025-06-27) \_/ |\\\_\_'\_|\_|\_|\\\_\_'\_| | Official https://juli…

---

## [Investigating large latency on a constrained Windows environment](https://discourse.julialang.org/t/investigating-large-latency-on-a-constrained-windows-environment/114482)

<div class="topic-metadata">

**Author:** [@TimG](https://discourse.julialang.org/u/TimG)\
**Replies:** 85\
**Last updated:** [May 22, 2024, 2:21pm UTC](https://discourse.julialang.org/t/investigating-large-latency-on-a-constrained-windows-environment/114482 "2024-05-22T14:21:14Z")

</div>

On first start-up in the morning in VSCode, my code takes fully 7 minutes before executing the first line of my actual script (to read a csv file). using DataFrames using CSV using Dates using ZipArchives using GeoStats…

---

## [Any way to speed up loading large precompiled packages?](https://discourse.julialang.org/t/any-way-to-speed-up-loading-large-precompiled-packages/98762)

<div class="topic-metadata">

**Author:** [@moble](https://discourse.julialang.org/u/moble)\
**Replies:** 35\
**Last updated:** [May 15, 2023, 12:54pm UTC](https://discourse.julialang.org/t/any-way-to-speed-up-loading-large-precompiled-packages/98762 "2023-05-15T12:54:05Z")

</div>

I have a package that my collaborators want to use like a script. Specifically, they want it to load quickly. Once it’s compiled, my part of the code is fast — around 0.01s, compared to the several seconds taken by my …

---

## [Very slow time to first plot, 2022](https://discourse.julialang.org/t/very-slow-time-to-first-plot-2022/88968)

<div class="topic-metadata">

**Author:** [@rongcuid](https://discourse.julialang.org/u/rongcuid)\
**Replies:** 72\
**Last updated:** [May 8, 2023, 10:08am UTC](https://discourse.julialang.org/t/very-slow-time-to-first-plot-2022/88968 "2023-05-08T10:08:17Z")

</div>

Obviously, we all know this question has been asked numerous times. I am using latest Julia 1.8, and in my current research I am using Julia Makie/AlgebraOfGraphics for most of the analytics and plotting, and I am encou…

---

## [10-15 minute TTFP with Plots.jl... Please help](https://discourse.julialang.org/t/10-15-minute-ttfp-with-plots-jl-please-help/92636)

<div class="topic-metadata">

**Author:** [@Lilith](https://discourse.julialang.org/u/Lilith)\
**Replies:** 55\
**Last updated:** [January 9, 2023, 8:36pm UTC](https://discourse.julialang.org/t/10-15-minute-ttfp-with-plots-jl-please-help/92636 "2023-01-09T20:36:41Z")

</div>

TLDR: I spend half my day staring at Precompiling project... I hear people talking a lot about improvements in time to first plot, but I’m not seeing it. My TTPF is still on the order of 10-15 minutes. This is the test …

---

## [Debugging invalidations](https://discourse.julialang.org/t/debugging-invalidations/92357)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 17\
**Last updated:** [January 4, 2023, 3:03pm UTC](https://discourse.julialang.org/t/debugging-invalidations/92357 "2023-01-04T15:03:54Z")

</div>

I am testing Julia-1.9-beta2 on Ubuntu 22.04 and would like to improve the performance of plots using Bokeh.jl. In the moment the first time to plot with this package is about 13s, and it would be nice to improve that. …

---

## [Sysimage plot in Juno is still slow?](https://discourse.julialang.org/t/sysimage-plot-in-juno-is-still-slow/46051)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 0\
**Last updated:** [September 4, 2020, 11:28am UTC](https://discourse.julialang.org/t/sysimage-plot-in-juno-is-still-slow/46051 "2020-09-04T11:28:24Z")

</div>

Hello! I followed this guide to make a sysimage https://julialang.github.io/PackageCompiler.jl/dev/examples/plots/ I succeeded in doing so, but the result I see is: julia\> @time using Plots 0.000901 seconds (445 al…

---

## [\[ANN\] DLMReader 0.4.5 with one Big Enhancement](https://discourse.julialang.org/t/ann-dlmreader-0-4-5-with-one-big-enhancement/83729)

<div class="topic-metadata">

**Author:** [@sl-solution](https://discourse.julialang.org/u/sl-solution)\
**Replies:** 3\
**Last updated:** [July 11, 2022, 8:43am UTC](https://discourse.julialang.org/t/ann-dlmreader-0-4-5-with-one-big-enhancement/83729 "2022-07-11T08:43:22Z")

</div>

I am excited to announce that DLMReader version 0.4.5 has been released. The new release includes several performance enhancements and bug fixes. For instance, reading multiple observations per line and type detecting ar…

---

## [Taking TTFX seriously: Can we make common packages faster to load and use](https://discourse.julialang.org/t/taking-ttfx-seriously-can-we-make-common-packages-faster-to-load-and-use/74949)

<div class="topic-metadata">

**Author:** [@Raf](https://discourse.julialang.org/u/Raf)\
**Replies:** 123\
**Last updated:** [June 20, 2022, 6:19pm UTC](https://discourse.julialang.org/t/taking-ttfx-seriously-can-we-make-common-packages-faster-to-load-and-use/74949 "2022-06-20T18:19:12Z")

</div>

So much work has been done to improve julia compilation and remove invalidations. Things really feel a lot snappier to use. But there is still the problem of packages that were written without much thought to startup ti…

---

## [Using the type and functions for dispatch purposes without loading all codes of its owner package](https://discourse.julialang.org/t/using-the-type-and-functions-for-dispatch-purposes-without-loading-all-codes-of-its-owner-package/79951)

<div class="topic-metadata">

**Author:** [@JohnnyChen94](https://discourse.julialang.org/u/JohnnyChen94)\
**Replies:** 9\
**Last updated:** [June 20, 2022, 8:25am UTC](https://discourse.julialang.org/t/using-the-type-and-functions-for-dispatch-purposes-without-loading-all-codes-of-its-owner-package/79951 "2022-06-20T08:25:37Z")

</div>

Like C/C++'s header file, I’m wondering if it’s possible for Julia to introduce similar concepts so that package authors can have a smaller dependencies and thus reduce the latency. In valid Julia semantics, this can be…

---

## [Precompiling non-inferrable calls](https://discourse.julialang.org/t/precompiling-non-inferrable-calls/79771)

<div class="topic-metadata">

**Author:** [@rikh](https://discourse.julialang.org/u/rikh)\
**Replies:** 2\
**Last updated:** [April 23, 2022, 4:54pm UTC](https://discourse.julialang.org/t/precompiling-non-inferrable-calls/79771 "2022-04-23T16:54:21Z")

</div>

Let me start of by saying that precompile is great. It can move a lot of compilation time from the package loading to the precompilation stage. For people unfamiliar with precompile, when calling it on a function, it pr…

---

## [Why is Julia's graphics system so slow?](https://discourse.julialang.org/t/why-is-julias-graphics-system-so-slow/68750)

<div class="topic-metadata">

**Author:** [@aachener](https://discourse.julialang.org/u/aachener)\
**Replies:** 32\
**Last updated:** [March 17, 2022, 8:59am UTC](https://discourse.julialang.org/t/why-is-julias-graphics-system-so-slow/68750 "2022-03-17T08:59:14Z")

</div>

Hi, all, I am relatively new to Julia, and am using Julia 1.6.2 as well as newest Plots.jl, pyplot.jl and Gadfly.jl. I am programming Julia using vs code extension. I find that drawing charts and plots in Julia is par…

---

## [TTFX with DataFrames and CSV](https://discourse.julialang.org/t/ttfx-with-dataframes-and-csv/75432)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 40\
**Last updated:** [February 6, 2022, 4:43pm UTC](https://discourse.julialang.org/t/ttfx-with-dataframes-and-csv/75432 "2022-02-06T16:43:11Z")

</div>

I have a very simple little program: @time using CSV, DataFrames input=""" time,ping 1,25.7 2,31.8 """ io = IOBuffer(input) @time df = CSV.read(io, DataFrame) close(io) df Output: julia\> include("bench.jl") 3.0629…

---

## [Slow Jupyter with Julia](https://discourse.julialang.org/t/slow-jupyter-with-julia/75391)

<div class="topic-metadata">

**Author:** [@dal233](https://discourse.julialang.org/u/dal233)\
**Replies:** 3\
**Last updated:** [January 29, 2022, 1:36pm UTC](https://discourse.julialang.org/t/slow-jupyter-with-julia/75391 "2022-01-29T13:36:50Z")

</div>

When I run something simple like 1+1 in Jupyter using Julia, it is significantly slower than when I do the same thing with Python. How come? And is there a faster way to use Julia in Jupyter?

---

## [Real runtime vs. @btime output](https://discourse.julialang.org/t/real-runtime-vs-btime-output/75001)

<div class="topic-metadata">

**Author:** [@jafar.isbarov](https://discourse.julialang.org/u/jafar.isbarov)\
**Replies:** 11\
**Last updated:** [January 23, 2022, 10:14am UTC](https://discourse.julialang.org/t/real-runtime-vs-btime-output/75001 "2022-01-23T10:14:34Z")

</div>

I am going through this ML tutorial on Julia, and I noticed something odd. Output of the following script using BenchmarkTools using Flux @btime f(x) = x^2+1 @btime df(x) = gradient(f,x,nest=true)\[1\] is this: 0.90…

---

## [Roadmap for a faster time-to-first-plot?](https://discourse.julialang.org/t/roadmap-for-a-faster-time-to-first-plot/22956)

<div class="topic-metadata">

**Author:** [@dlfivefifty](https://discourse.julialang.org/u/dlfivefifty)\
**Replies:** 250\
**Last updated:** [August 3, 2021, 12:07am UTC](https://discourse.julialang.org/t/roadmap-for-a-faster-time-to-first-plot/22956 "2021-08-03T00:07:07Z")

</div>

Having unintentionally “thrown shade” and performed a “kvetchfest” in another thread, let me first apologise. I’m very happy with the improvements made in Julia, especially the interpreter and debugger, and am very much …

---

## [Time to first plot clarification](https://discourse.julialang.org/t/time-to-first-plot-clarification/58534)

<div class="topic-metadata">

**Author:** [@Lyngbakr](https://discourse.julialang.org/u/Lyngbakr)\
**Replies:** 1\
**Last updated:** [April 3, 2021, 11:36pm UTC](https://discourse.julialang.org/t/time-to-first-plot-clarification/58534 "2021-04-03T23:36:33Z")

</div>

I’m embarrassed to ask given that the phrase is used so often, but I was hoping someone could clarify the phrase time to first plot for me. My understanding is that the first time that a script is run that it can take a …

---

## [Parallel loading of packages, to help e.g. Queryverse (VegaLite), time-to-first plot](https://discourse.julialang.org/t/parallel-loading-of-packages-to-help-e-g-queryverse-vegalite-time-to-first-plot/45700)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 5\
**Last updated:** [September 2, 2020, 3:43pm UTC](https://discourse.julialang.org/t/parallel-loading-of-packages-to-help-e-g-queryverse-vegalite-time-to-first-plot/45700 "2020-09-02T15:43:19Z")

</div>

First I want to say, time-to-first-plot isn’t really an issue (I consider it a solved problem if you know what you’re doing, using right packages/options), e.g. in about a sec. on Julia 1.6 (you can excpect this speed so…

---

## [Finding and fixing invalidations: now, everyone can help reduce time-to-first-plot](https://discourse.julialang.org/t/finding-and-fixing-invalidations-now-everyone-can-help-reduce-time-to-first-plot/45598)

<div class="topic-metadata">

**Author:** [@tim.holy](https://discourse.julialang.org/u/tim.holy)\
**Replies:** 9\
**Last updated:** [August 31, 2020, 5:45pm UTC](https://discourse.julialang.org/t/finding-and-fixing-invalidations-now-everyone-can-help-reduce-time-to-first-plot/45598 "2020-08-31T17:45:11Z")

</div>

I just posted a new blog post on recent work reducing Julia’s latency, a.k.a., “time to first plot” and even “time to second plot (after loading more code)”. The blog post describes recent work on diagnosing and eliminat…

---

## [Time to first plot seems to be much alleviated in 1.4. What happend?](https://discourse.julialang.org/t/time-to-first-plot-seems-to-be-much-alleviated-in-1-4-what-happend/37340)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 20\
**Last updated:** [June 15, 2020, 3:16pm UTC](https://discourse.julialang.org/t/time-to-first-plot-seems-to-be-much-alleviated-in-1-4-what-happend/37340 "2020-06-15T15:16:42Z")

</div>

I read somewhere that time to first plot is now much faster. I tried it on Windows 10 Julia v1.4 and plot(1:3) is sub 5 seconds now which is quite acceptable! I wonder what happened, I haven’t been following as closely …

---

## [Compiler performance tips](https://discourse.julialang.org/t/compiler-performance-tips/32559)

<div class="topic-metadata">

**Author:** [@fverdugo](https://discourse.julialang.org/u/fverdugo)\
**Replies:** 3\
**Last updated:** [December 23, 2019, 1:11am UTC](https://discourse.julialang.org/t/compiler-performance-tips/32559 "2019-12-23T01:11:53Z")

</div>

Hi! I find the julia performance tips page very useful. I am wondering if there is a similar document with some tips in order to reduce compiler latency and start up times. E.g., which patterns to use, which to avoid, e…

---

## [Definition of 'TTFP'](https://discourse.julialang.org/t/definition-of-ttfp/27898)

<div class="topic-metadata">

**Author:** [@lobingera](https://discourse.julialang.org/u/lobingera)\
**Replies:** 3\
**Last updated:** [August 23, 2019, 11:59pm UTC](https://discourse.julialang.org/t/definition-of-ttfp/27898 "2019-08-23T23:59:18Z")

</div>

Citing Tamas (from the other thread) “Maybe I am overly optimistic, but in the meantime I consider it within the capacity of an average adult to wait a short while when loading unfamiliar package in a new programming lan…

---

## [Time to first plot benchmark](https://discourse.julialang.org/t/time-to-first-plot-benchmark/26726)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 11\
**Last updated:** [July 24, 2019, 3:42pm UTC](https://discourse.julialang.org/t/time-to-first-plot-benchmark/26726 "2019-07-24T15:42:55Z")

</div>

In the light of Julia survey result (i.e people complain about time to the first plot), I did a naive benchmark, as expected, PyPlot is the fastest :frowning: http://uaf-8.t2.ucsd.edu/~jling/dump/PlotBenchmark.html Bec…

---

## [Ways to make slow/sluggish REPL/interactive development experience faster?](https://discourse.julialang.org/t/ways-to-make-slow-sluggish-repl-interactive-development-experience-faster/25293)

<div class="topic-metadata">

**Author:** [@abe](https://discourse.julialang.org/u/abe)\
**Replies:** 35\
**Last updated:** [July 23, 2019, 11:56am UTC](https://discourse.julialang.org/t/ways-to-make-slow-sluggish-repl-interactive-development-experience-faster/25293 "2019-07-23T11:56:36Z")

</div>

New to Julia from R and so far very disappointed with the interactive experience. I get that compiles will take time, but it seems like everything is slow. I don’t get why something like “using mycoolpackage” or “add ano…

---

## [Make first call faster](https://discourse.julialang.org/t/make-first-call-faster/22845)

<div class="topic-metadata">

**Author:** [@KestutisMa](https://discourse.julialang.org/u/KestutisMa)\
**Replies:** 6\
**Last updated:** [July 12, 2019, 7:53am UTC](https://discourse.julialang.org/t/make-first-call-faster/22845 "2019-07-12T07:53:24Z")

</div>

Hello, I just started using Julia, I noticed that commands using Plotly plot(rand(10)) perform slowly ~30s in first run, but faster ~2s in second run. Could it be possible to cache that process to make it fast after …

---

## [Perfomance issue when executing a script](https://discourse.julialang.org/t/perfomance-issue-when-executing-a-script/23494)

<div class="topic-metadata">

**Author:** [@phil1](https://discourse.julialang.org/u/phil1)\
**Replies:** 3\
**Last updated:** [April 25, 2019, 6:18pm UTC](https://discourse.julialang.org/t/perfomance-issue-when-executing-a-script/23494 "2019-04-25T18:18:05Z")

</div>

I write a simple script, plotex.jl to produce a plot: using Plots pyplot() # Switch to using the PyPlot.jl backend plot1 = plot(rand(10,10),linewidth=2,title=“Plot 1”) display(plot1) When I type the code manually into …

---

## [Time to first plot with Makie too long](https://discourse.julialang.org/t/time-to-first-plot-with-makie-too-long/17947)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 2\
**Last updated:** [November 24, 2018, 7:48pm UTC](https://discourse.julialang.org/t/time-to-first-plot-with-makie-too-long/17947 "2018-11-24T19:48:15Z")

</div>

I am running the following example using Julia 1.0.2 on a fast Ubuntu quad-core: using Makie using GeometryTypes x = Vec3f0(0); baselen = 0.2f0; dirlen = 1f0 # create an array of differently colored boxes in the direct…

---

## [Beginner installing and trying to use JuliaPro on Windows - extremely slow experience](https://discourse.julialang.org/t/beginner-installing-and-trying-to-use-juliapro-on-windows-extremely-slow-experience/7729)

<div class="topic-metadata">

**Author:** [@mjmat](https://discourse.julialang.org/u/mjmat)\
**Replies:** 24\
**Last updated:** [April 27, 2018, 7:47am UTC](https://discourse.julialang.org/t/beginner-installing-and-trying-to-use-juliapro-on-windows-extremely-slow-experience/7729 "2018-04-27T07:47:40Z")

</div>

Hello, I wanted to report the very slow and somewhat frustrating experience of a beginner trying to install and use JuliaPro. I apologize if this is not the proper forum category. Note: I come from a Matlab background,…
