# \#latency

**URL:** https://discourse.julialang.org/tag/latency/989.md

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

---

## [Startup time of 1000 packages – 53% slower in Julia 1.12 vs 1.10](https://discourse.julialang.org/t/startup-time-of-1000-packages-53-slower-in-julia-1-12-vs-1-10/128343)

<div class="topic-metadata">

**Author:** [@fonsp](https://discourse.julialang.org/u/fonsp)\
**Replies:** 81\
**Last updated:** [November 14, 2025, 7:28pm UTC](https://discourse.julialang.org/t/startup-time-of-1000-packages-53-slower-in-julia-1-12-vs-1-10/128343 "2025-11-14T19:28:21Z")

</div>

Startup time of 1000 packages I think startup time is a big deal for Julia, especially for new users. If it takes a long time to load a package, it makes Julia look bad. Recently, Julia 1.12 beta was released, and I not…

---

## [Speculator.jl: Reduce latency through speculative compilation](https://discourse.julialang.org/t/speculator-jl-reduce-latency-through-speculative-compilation/124344)

<div class="topic-metadata">

**Author:** [@jakobjpeters](https://discourse.julialang.org/u/jakobjpeters)\
**Replies:** 17\
**Last updated:** [January 6, 2025, 1:51am UTC](https://discourse.julialang.org/t/speculator-jl-reduce-latency-through-speculative-compilation/124344 "2025-01-06T01:51:40Z")

</div>

Introduction Hi everyone! I’m excited to announce Speculator.jl, which reduces latency by automatically searching for compilable method specializations. Features The primary feature is the function speculate. It wi…

---

## [How to check for unwanted specialization and how to prevent specialization?](https://discourse.julialang.org/t/how-to-check-for-unwanted-specialization-and-how-to-prevent-specialization/117117)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 2\
**Last updated:** [July 17, 2024, 11:25am UTC](https://discourse.julialang.org/t/how-to-check-for-unwanted-specialization-and-how-to-prevent-specialization/117117 "2024-07-17T11:25:21Z")

</div>

Take this simple function: f(::Any) = 7. Its only argument is never used, so ideally Julia wouldn’t ever have to specialize for it, to prevent unnecessary compilation latency. The manual suggests using @nospecialize and B…

---

## [Help reducing compilation and inference time](https://discourse.julialang.org/t/help-reducing-compilation-and-inference-time/116630)

<div class="topic-metadata">

**Author:** [@osimonn](https://discourse.julialang.org/u/osimonn)\
**Replies:** 71\
**Last updated:** [July 11, 2024, 1:53pm UTC](https://discourse.julialang.org/t/help-reducing-compilation-and-inference-time/116630 "2024-07-11T13:53:27Z")

</div>

We have a simulator in our company that’s fully written in Julia. The codebase is quite large. We have been suffering from very high latency for some time now. I took the initiative of trying to solve the latency issue b…

---

## [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…

---

## [Quick guide to get graph of dependencies with import times](https://discourse.julialang.org/t/quick-guide-to-get-graph-of-dependencies-with-import-times/105557)

<div class="topic-metadata">

**Author:** [@Alec\_Loudenback](https://discourse.julialang.org/u/Alec_Loudenback)\
**Replies:** 0\
**Last updated:** [October 30, 2023, 2:17am UTC](https://discourse.julialang.org/t/quick-guide-to-get-graph-of-dependencies-with-import-times/105557 "2023-10-30T02:17:25Z")

</div>

tl;dr - a script to plot dependencies and the associated @time\_imports time. I’m in the process of putting one of my packages through a diet and wanted to better understand the upstream dependencies and their impact on …

---

## [Call for help - Network latency of RemoteREPL](https://discourse.julialang.org/t/call-for-help-network-latency-of-remoterepl/100652)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 0\
**Last updated:** [June 21, 2023, 1:31pm UTC](https://discourse.julialang.org/t/call-for-help-network-latency-of-remoterepl/100652 "2023-06-21T13:31:33Z")

</div>

Hey everyone. I just submitted this issue about the latency of RemoteREPL. I just wanted to put a post out here, to say that any help would be appreciated, as I do not know anything about how to fix this, and it seems li…

---

## [\[ANN\] SnoopPrecompile -\> PrecompileTools](https://discourse.julialang.org/t/ann-snoopprecompile-precompiletools/97882)

<div class="topic-metadata">

**Author:** [@tim.holy](https://discourse.julialang.org/u/tim.holy)\
**Replies:** 22\
**Last updated:** [May 4, 2023, 4:26pm UTC](https://discourse.julialang.org/t/ann-snoopprecompile-precompiletools/97882 "2023-05-04T16:26:09Z")

</div>

SnoopPrecompile is being deprecated in favor of PrecompileTools. If you maintain a General-registry package that uses SnoopPrecompile, you should soon receive a pull request that will migrate you to PrecompileTools. Othe…

---

## [Web server with latency-sensitive and compute-heavy task separate thread pools](https://discourse.julialang.org/t/web-server-with-latency-sensitive-and-compute-heavy-task-separate-thread-pools/93949)

<div class="topic-metadata">

**Author:** [@simsurace](https://discourse.julialang.org/u/simsurace)\
**Replies:** 12\
**Last updated:** [February 10, 2023, 9:32am UTC](https://discourse.julialang.org/t/web-server-with-latency-sensitive-and-compute-heavy-task-separate-thread-pools/93949 "2023-02-10T09:32:03Z")

</div>

I need to set up a web server that mainly serves requests which are computationally heavy and multithreaded, but should remain responsive to health checks (from a Kubernetes cluster) which are latency sensitive. I want t…

---

## [Re-using compiled code](https://discourse.julialang.org/t/re-using-compiled-code/93524)

<div class="topic-metadata">

**Author:** [@simsurace](https://discourse.julialang.org/u/simsurace)\
**Replies:** 23\
**Last updated:** [January 30, 2023, 2:05pm UTC](https://discourse.julialang.org/t/re-using-compiled-code/93524 "2023-01-30T14:05:19Z")

</div>

I’m trying to reduce the latency of an application by using precompilation. I went through most of the steps described in the SnoopCompile manual. It seems that I’m running into the issue which is mentioned there, namely…

---

## [What is the recommended way to debug \`using\` latency issues?](https://discourse.julialang.org/t/what-is-the-recommended-way-to-debug-using-latency-issues/92561)

<div class="topic-metadata">

**Author:** [@ranocha](https://discourse.julialang.org/u/ranocha)\
**Replies:** 3\
**Last updated:** [January 6, 2023, 2:19pm UTC](https://discourse.julialang.org/t/what-is-the-recommended-way-to-debug-using-latency-issues/92561 "2023-01-06T14:19:01Z")

</div>

I wonder if anybody has good recommendations for debugging the latency of using statements. The new @time\_imports already helps quite a lot but I haven’t found a workflow I really like. Here is an example of what I mean: …

---

## [How to resolve this method invalidation for \`all\` introduced by loading FillArrays?](https://discourse.julialang.org/t/how-to-resolve-this-method-invalidation-for-all-introduced-by-loading-fillarrays/92417)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 0\
**Last updated:** [January 2, 2023, 1:39pm UTC](https://discourse.julialang.org/t/how-to-resolve-this-method-invalidation-for-all-introduced-by-loading-fillarrays/92417 "2023-01-02T13:39:11Z")

</div>

julia\> using SnoopCompileCore julia\> invalidations = @snoopr using FillArrays; julia\> using SnoopCompile julia\> trees = invalidation\_trees(invalidations); julia\> trees\[end\] inserting all(f::Function, x::FillArrays.Ab…

---

## [First call latency in distributed code](https://discourse.julialang.org/t/first-call-latency-in-distributed-code/88917)

<div class="topic-metadata">

**Author:** [@shce](https://discourse.julialang.org/u/shce)\
**Replies:** 42\
**Last updated:** [October 21, 2022, 11:52am UTC](https://discourse.julialang.org/t/first-call-latency-in-distributed-code/88917 "2022-10-21T11:52:38Z")

</div>

Hello! I am facing with an issue I haven’t encountered so far with distributed code. I have a code to optimize some function f for several initial conditions. Function f might be very complicated. To avoid high times i…

---

## [ANN: New package SnoopPrecompile](https://discourse.julialang.org/t/ann-new-package-snoopprecompile/84778)

<div class="topic-metadata">

**Author:** [@tim.holy](https://discourse.julialang.org/u/tim.holy)\
**Replies:** 32\
**Last updated:** [September 30, 2022, 3:10pm UTC](https://discourse.julialang.org/t/ann-new-package-snoopprecompile/84778 "2022-09-30T15:10:21Z")

</div>

EDIT: SnoopPrecompile has been replaced by PrecompileTools. I’m pleased to announce the availability of SnoopPrecompile, a new package that can help reduce latency particularly on Julia 1.8 and higher. The concept of th…

---

## [\[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…

---

## [Fighting latency and the future of FunctionWrappers](https://discourse.julialang.org/t/fighting-latency-and-the-future-of-functionwrappers/78597)

<div class="topic-metadata">

**Author:** [@pablosanjose](https://discourse.julialang.org/u/pablosanjose)\
**Replies:** 5\
**Last updated:** [March 28, 2022, 3:33pm UTC](https://discourse.julialang.org/t/fighting-latency-and-the-future-of-functionwrappers/78597 "2022-03-28T15:33:52Z")

</div>

In our constant battle to reduce time-to-first-X, I’m finding it very, very valuable to use the precompile approach of my bottleneck functions (diagnosed with the amazing SnoopCompile frameworks, thanks a bunch for that!…
