# \#performance

**URL:** https://discourse.julialang.org/tag/performance/53.md

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

---

## [Building an incremental sysimage in seconds instead of minutes](https://discourse.julialang.org/t/building-an-incremental-sysimage-in-seconds-instead-of-minutes/139352)

<div class="topic-metadata">

**Author:** [@melevy](https://discourse.julialang.org/u/melevy)\
**Replies:** 0\
**Last updated:** [September 10, 2026, 8:56pm UTC](https://discourse.julialang.org/t/building-an-incremental-sysimage-in-seconds-instead-of-minutes/139352 "2026-09-10T20:56:55Z")

</div>

Disclaimer: this post was written using AI, but I did my best to make this informative and useful for others. The post has been flagged for being an advertisement, it is not. I hope it passes this time. This is a resear…

---

## [Compiled application startup time under 10ms for 368MB sysimage](https://discourse.julialang.org/t/compiled-application-startup-time-under-10ms-for-368mb-sysimage/139313)

<div class="topic-metadata">

**Author:** [@melevy](https://discourse.julialang.org/u/melevy)\
**Replies:** 0\
**Last updated:** [September 9, 2026, 3:14pm UTC](https://discourse.julialang.org/t/compiled-application-startup-time-under-10ms-for-368mb-sysimage/139313 "2026-09-09T15:14:08Z")

</div>

I build compiled binaries for a network simulator and the process startup time really bugged me. Investigation showed that it is not really inherent to the problem. The image is mmapped fine, but then the loader walks tw…

---

## [Region-based GC for Julia: worst event pause 4 ms → 55 µs](https://discourse.julialang.org/t/region-based-gc-for-julia-worst-event-pause-4-ms-55-s/139158)

<div class="topic-metadata">

**Author:** [@melevy](https://discourse.julialang.org/u/melevy)\
**Replies:** 8\
**Last updated:** [September 8, 2026, 5:58pm UTC](https://discourse.julialang.org/t/region-based-gc-for-julia-worst-event-pause-4-ms-55-s/139158 "2026-09-08T17:58:13Z")

</div>

I run discrete-event simulations that drive hardware in the loop, which means every event has a deadline of about 100 µs. Julia’s collector is fine on throughput but occasionally it stops the world for milliseconds, an…

---

## [\[ANN\] CodeGlass – see what your code is actually doing](https://discourse.julialang.org/t/ann-codeglass-see-what-your-code-is-actually-doing/137020)

<div class="topic-metadata">

**Author:** [@Tyrone](https://discourse.julialang.org/u/Tyrone)\
**Replies:** 17\
**Last updated:** [September 3, 2026, 8:07am UTC](https://discourse.julialang.org/t/ann-codeglass-see-what-your-code-is-actually-doing/137020 "2026-09-03T08:07:02Z")

</div>

Hi all, Over the past few years, we’ve been building runtime analysis tools for different languages and use cases, including Julia. Today, we would like to officially announce the release of our Julia profiling toolbox:…

---

## [More idiomatic way of phrasing \`reduce(\\circ, repeated(f, x))(y)\`?](https://discourse.julialang.org/t/more-idiomatic-way-of-phrasing-reduce-circ-repeated-f-x-y/138647)

<div class="topic-metadata">

**Author:** [@rokke](https://discourse.julialang.org/u/rokke)\
**Replies:** 24\
**Last updated:** [August 15, 2026, 2:49pm UTC](https://discourse.julialang.org/t/more-idiomatic-way-of-phrasing-reduce-circ-repeated-f-x-y/138647 "2026-08-15T14:49:08Z")

</div>

I usually use reduce(∘, repeated(func, x))(a) when I need to apply func to a x times, but apparently it spends most of the time creating the single composed function; averaging ~20x as long as an equivalent accumulate in…

---

## [Structure and performance questions from a Fortran programmer: functions, global variables, array allocations, input files, and structs](https://discourse.julialang.org/t/structure-and-performance-questions-from-a-fortran-programmer-functions-global-variables-array-allocations-input-files-and-structs/137409)

<div class="topic-metadata">

**Author:** [@ducksoverip](https://discourse.julialang.org/u/ducksoverip)\
**Replies:** 35\
**Last updated:** [June 10, 2026, 1:46pm UTC](https://discourse.julialang.org/t/structure-and-performance-questions-from-a-fortran-programmer-functions-global-variables-array-allocations-input-files-and-structs/137409 "2026-06-10T13:46:24Z")

</div>

I’m a physicist used to using Fortran90 for number crunching and Python for plotting and glue code. I’m learning Julia because of its ease of use, promised efficiency, and excellent math support. That said, there’s some …

---

## [\[ANN\] Ark.jl v0.5 - Archetype-based Entity Component System (ECS) for Julia](https://discourse.julialang.org/t/ann-ark-jl-v0-5-archetype-based-entity-component-system-ecs-for-julia/137380)

<div class="topic-metadata">

**Author:** [@Tortar](https://discourse.julialang.org/u/Tortar)\
**Replies:** 3\
**Last updated:** [June 5, 2026, 3:19pm UTC](https://discourse.julialang.org/t/ann-ark-jl-v0-5-archetype-based-entity-component-system-ecs-for-julia/137380 "2026-06-05T15:19:07Z")

</div>

Hi all! Happy to announce the release of Ark.jl 0.5. It was a slow burning effort this time, where we tried to make the package more robust in several aspects. It took time and effort, but I can say we made some good pr…

---

## [Perf Julia@threads behind Numba@njit(parallel=True)](https://discourse.julialang.org/t/perf-julia-threads-behind-numba-njit-parallel-true/137388)

<div class="topic-metadata">

**Author:** [@cheng.wu](https://discourse.julialang.org/u/cheng.wu)\
**Replies:** 17\
**Last updated:** [June 2, 2026, 9:59am UTC](https://discourse.julialang.org/t/perf-julia-threads-behind-numba-njit-parallel-true/137388 "2026-06-02T09:59:33Z")

</div>

(This is a follow up to Julia vs Numba, having created a new discourse account) I came across this article on the performance of Julia vs Python+Numba, and this section interested me. It claims parallel Julia code is qu…

---

## [Column-wise calculations in arrays are slower](https://discourse.julialang.org/t/column-wise-calculations-in-arrays-are-slower/107814)

<div class="topic-metadata">

**Author:** [@vsoler](https://discourse.julialang.org/u/vsoler)\
**Replies:** 16\
**Last updated:** [May 28, 2026, 2:32pm UTC](https://discourse.julialang.org/t/column-wise-calculations-in-arrays-are-slower/107814 "2026-05-28T14:32:01Z")

</div>

I just read the excellent article on improving calculation performance in loops on the Julia blog fast-numeric. In the article we can read … Julia arrays are stored in column-major order, which means that the rows of …

---

## [Type instability in code with branches and QuadGK uses](https://discourse.julialang.org/t/type-instability-in-code-with-branches-and-quadgk-uses/136996)

<div class="topic-metadata">

**Author:** [@Tbl](https://discourse.julialang.org/u/Tbl)\
**Replies:** 9\
**Last updated:** [May 6, 2026, 5:49pm UTC](https://discourse.julialang.org/t/type-instability-in-code-with-branches-and-quadgk-uses/136996 "2026-05-06T17:49:26Z")

</div>

I have a code which calculates complicated integral and which one should be used depends on the parameters. The code is chronically type-unstable (union with Core.Box appears) which makes it few times slower than it shou…

---

## [Package installation time on 1.13beta3 improved](https://discourse.julialang.org/t/package-installation-time-on-1-13beta3-improved/136433)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 6\
**Last updated:** [May 2, 2026, 2:45pm UTC](https://discourse.julialang.org/t/package-installation-time-on-1-13beta3-improved/136433 "2026-05-02T14:45:49Z")

</div>

For my package KiteModels.jl I compared the time it took to run my install script. time ./install Julia 1.10: 5:40 minutes Julia 1.11: 9:30 minutes Julia 1.12: 9:27 minutes Julia 1.13: 7:51 minutes This includes the t…

---

## [\[ANN\] Mongoose.jl v0.3.x - AOT compilable HTTP Server](https://discourse.julialang.org/t/ann-mongoose-jl-v0-3-x-aot-compilable-http-server/136852)

<div class="topic-metadata">

**Author:** [@AbrJA](https://discourse.julialang.org/u/AbrJA)\
**Replies:** 0\
**Last updated:** [April 24, 2026, 5:23pm UTC](https://discourse.julialang.org/t/ann-mongoose-jl-v0-3-x-aot-compilable-http-server/136852 "2026-04-24T17:23:10Z")

</div>

Hi there, I’m happy to announce the 0.3 series of releases of the Mongoose.jl library. It brings a lot of improvements and new cool features. For example: Websocket support Middleware support Static file serving AOT …

---

## [How to improve structural\_simplify performance?](https://discourse.julialang.org/t/how-to-improve-structural-simplify-performance/127260)

<div class="topic-metadata">

**Author:** [@Bart\_van\_de\_Lint](https://discourse.julialang.org/u/Bart_van_de_Lint)\
**Replies:** 17\
**Last updated:** [April 23, 2026, 4:08am UTC](https://discourse.julialang.org/t/how-to-improve-structural-simplify-performance/127260 "2026-04-23T04:08:24Z")

</div>

Modelingtoolkits structural\_simplify can be very slow on bigger systems. What can I do to improve it’s performance? Should I write my equations in a certain way, should I split up big equations into smaller ones, or shou…

---

## [Reusing @local cache when multithreading](https://discourse.julialang.org/t/reusing-local-cache-when-multithreading/136579)

<div class="topic-metadata">

**Author:** [@amousavi](https://discourse.julialang.org/u/amousavi)\
**Replies:** 1\
**Last updated:** [April 6, 2026, 1:30am UTC](https://discourse.julialang.org/t/reusing-local-cache-when-multithreading/136579 "2026-04-06T01:30:17Z")

</div>

Hi everyone! I am trying to update an old project of mine where I have three nested for loops as such: scratch = zeros(Float32, tree\_nodes, nthreads()) collect\_here = zeros(Float32, nthreads()) for i in eachindex(V) @…

---

## [Contradictory nested function performance and allocation](https://discourse.julialang.org/t/contradictory-nested-function-performance-and-allocation/136548)

<div class="topic-metadata">

**Author:** [@lilachint](https://discourse.julialang.org/u/lilachint)\
**Replies:** 2\
**Last updated:** [April 4, 2026, 8:38am UTC](https://discourse.julialang.org/t/contradictory-nested-function-performance-and-allocation/136548 "2026-04-04T08:38:44Z")

</div>

Recently when working on sorting data with Hilbert curves, I noticed something very peculiar when benchmarking. function hilbert\_sort(m::AbstractMatrix{\<:Integer}, b::Integer; rev::Bool = false) return m\[:, hilbert\_…

---

## [Why did the doubly recursive fibonacci microbenchmark become relatively slower?](https://discourse.julialang.org/t/why-did-the-doubly-recursive-fibonacci-microbenchmark-become-relatively-slower/136248)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 39\
**Last updated:** [March 28, 2026, 5:48pm UTC](https://discourse.julialang.org/t/why-did-the-doubly-recursive-fibonacci-microbenchmark-become-relatively-slower/136248 "2026-03-28T17:48:33Z")

</div>

In the original microbenchmarks, Julia was a bit behind C/Fortran (~1.3x) on fib(n) = n \< 2 ? n : fib(n - 1) + fib(n - 2) (note this is 64-bit on Julia, 32-bit on the others, but making fib type-generic didn’t make a dif…

---

## [\[ANN\] JACC.jl v1.0 now available for 100% portable CPU/GPU code](https://discourse.julialang.org/t/ann-jacc-jl-v1-0-now-available-for-100-portable-cpu-gpu-code/136231)

<div class="topic-metadata">

**Author:** [@williamfgc](https://discourse.julialang.org/u/williamfgc)\
**Replies:** 4\
**Last updated:** [March 17, 2026, 4:31pm UTC](https://discourse.julialang.org/t/ann-jacc-jl-v1-0-now-available-for-100-portable-cpu-gpu-code/136231 "2026-03-17T16:31:21Z")

</div>

We are pleased to announce the first stable release of JACC.jl v1.0 - Julia for ACCelerators https://github.com/JuliaGPU/JACC.jl - feel free to star the repo. What’s different? :white\_check\_mark: Single-source Julia cod…

---

## [Solving linear systems without allocations, a comparison](https://discourse.julialang.org/t/solving-linear-systems-without-allocations-a-comparison/136193)

<div class="topic-metadata">

**Author:** [@RobertGregg](https://discourse.julialang.org/u/RobertGregg)\
**Replies:** 6\
**Last updated:** [March 16, 2026, 10:49am UTC](https://discourse.julialang.org/t/solving-linear-systems-without-allocations-a-comparison/136193 "2026-03-16T10:49:42Z")

</div>

I wanted to see how important removing allocations were when repeatedly solving linear systems (Ax=b), so I built a quick test package to try things out: GitHub - RobertGregg/QRLite.jl · GitHub. The interface uses FastLa…

---

## [I'm new to Julia and am hoping to use Apple's MLX Framework with Julia](https://discourse.julialang.org/t/im-new-to-julia-and-am-hoping-to-use-apples-mlx-framework-with-julia/136073)

<div class="topic-metadata">

**Author:** [@Bill\_Oliver](https://discourse.julialang.org/u/Bill_Oliver)\
**Replies:** 12\
**Last updated:** [March 8, 2026, 2:20pm UTC](https://discourse.julialang.org/t/im-new-to-julia-and-am-hoping-to-use-apples-mlx-framework-with-julia/136073 "2026-03-08T14:20:57Z")

</div>

I’m new to Julia and I am loving the language. Some test code I have runs in about 2 minutes, which I found astounding given the amount of computation involved and that the code is written with loops. However, when I por…

---

## [GPU performance degradation due to 'A \\ B' calculation](https://discourse.julialang.org/t/gpu-performance-degradation-due-to-a-b-calculation/136072)

<div class="topic-metadata">

**Author:** [@WG-ZHENG](https://discourse.julialang.org/u/WG-ZHENG)\
**Replies:** 7\
**Last updated:** [March 6, 2026, 8:35pm UTC](https://discourse.julialang.org/t/gpu-performance-degradation-due-to-a-b-calculation/136072 "2026-03-06T20:35:30Z")

</div>

I was trying to accelerate my algorithm via CUDA.jl. Howerver, it is frustrating that the GPU version of the computing runs slower than the CPU one. The CPU version of key calculations in my algorithm is defined as belo…

---

## [\[ANN\] AcceleratedKernels.jl - Cross-architecture parallel algorithms for Julia's GPU backends](https://discourse.julialang.org/t/ann-acceleratedkernels-jl-cross-architecture-parallel-algorithms-for-julias-gpu-backends/119698)

<div class="topic-metadata">

**Author:** [@anicusan](https://discourse.julialang.org/u/anicusan)\
**Replies:** 17\
**Last updated:** [March 3, 2026, 6:28pm UTC](https://discourse.julialang.org/t/ann-acceleratedkernels-jl-cross-architecture-parallel-algorithms-for-julias-gpu-backends/119698 "2026-03-03T18:28:45Z")

</div>

Hi everyone, I’m excited to announce the first public release of AcceleratedKernels.jl, a high-performance library of parallel algorithm building blocks for the Julia ecosystem, targeting: Multithreaded CPUs, and GPUs…

---

## [\[ANN\] Accord.jl v0.3: Production-Ready Discord Bots (CLI Scaffolding, Fault Injection & AI-Ready)](https://discourse.julialang.org/t/ann-accord-jl-v0-3-production-ready-discord-bots-cli-scaffolding-fault-injection-ai-ready/135905)

<div class="topic-metadata">

**Author:** [@manelsen](https://discourse.julialang.org/u/manelsen)\
**Replies:** 0\
**Last updated:** [February 28, 2026, 4:11am UTC](https://discourse.julialang.org/t/ann-accord-jl-v0-3-production-ready-discord-bots-cli-scaffolding-fault-injection-ai-ready/135905 "2026-02-28T04:11:46Z")

</div>

I am pleased to announce the release of Accord.jl v0.3.0. This update transitions the library from a simple API wrapper to a comprehensive framework for engineering robust Discord bots. The most significant addition is a…

---

## [Speeding up trig-heavy code](https://discourse.julialang.org/t/speeding-up-trig-heavy-code/134656)

<div class="topic-metadata">

**Author:** [@langestefan](https://discourse.julialang.org/u/langestefan)\
**Replies:** 26\
**Last updated:** [January 2, 2026, 4:44pm UTC](https://discourse.julialang.org/t/speeding-up-trig-heavy-code/134656 "2026-01-02T16:44:23Z")

</div>

Hello! I recently released v0.3.2 of SolarPosition.jl. I feel like it is now in a position where I am very happy with the performance, at least I think I covered all the basics like type stability covered in Performance…

---

## [\[ANN\] PrecompileSignatures.jl: Generate precompile directives by reading method signatures](https://discourse.julialang.org/t/ann-precompilesignatures-jl-generate-precompile-directives-by-reading-method-signatures/80943)

<div class="topic-metadata">

**Author:** [@rikh](https://discourse.julialang.org/u/rikh)\
**Replies:** 14\
**Last updated:** [January 1, 2026, 12:43pm UTC](https://discourse.julialang.org/t/ann-precompilesignatures-jl-generate-precompile-directives-by-reading-method-signatures/80943 "2026-01-01T12:43:23Z")

</div>

PrecompileSignatures.jl is a package which reduces TTFX by moving some just in time compilation to the precompilation phase. The package does this by reading all method signatures in a package and generating precompile d…

---

## [\[ANN\] Mongoose.jl v0.2.x - A fast lightweight HTTP Server](https://discourse.julialang.org/t/ann-mongoose-jl-v0-2-x-a-fast-lightweight-http-server/134699)

<div class="topic-metadata">

**Author:** [@AbrJA](https://discourse.julialang.org/u/AbrJA)\
**Replies:** 7\
**Last updated:** [December 30, 2025, 3:52am UTC](https://discourse.julialang.org/t/ann-mongoose-jl-v0-2-x-a-fast-lightweight-http-server/134699 "2025-12-30T03:52:40Z")

</div>

Hi there, I’m happy to announce the 0.2 release of the Mongoose.jl library. A much more mature and stable release. This release includes many new cool features, for example: Multi-instance (launch multiple servers on…

---

## [PicoHTTPParser package](https://discourse.julialang.org/t/picohttpparser-package/134593)

<div class="topic-metadata">

**Author:** [@AbrJA](https://discourse.julialang.org/u/AbrJA)\
**Replies:** 2\
**Last updated:** [December 17, 2025, 3:11am UTC](https://discourse.julialang.org/t/picohttpparser-package/134593 "2025-12-17T03:11:29Z")

</div>

I’m happy to announce the new package PicoHTTPParser PicoHTTPParser is a minimal, high-performance Julia wrapper around the picohttpparser C library. This package provides extremely fast HTTP request/response/headers pa…

---

## [Julia 1.11.8 performance up a notch since 1.11.7 (was: down a notch)](https://discourse.julialang.org/t/julia-1-11-8-performance-up-a-notch-since-1-11-7-was-down-a-notch/134577)

<div class="topic-metadata">

**Author:** [@JJMerelo](https://discourse.julialang.org/u/JJMerelo)\
**Replies:** 4\
**Last updated:** [December 16, 2025, 11:59pm UTC](https://discourse.julialang.org/t/julia-1-11-8-performance-up-a-notch-since-1-11-7-was-down-a-notch/134577 "2025-12-16T23:59:56Z")

</div>

As you may know, I’m using Julia for performance/energy evaluation here GitHub - cecimerelo/BraveNewAlgorithm.jl I routinely test new versions for improvements… After initially measuring a downgraded performance, I took…

---

## [Improving Base.mapreduce by 20% on vectors](https://discourse.julialang.org/t/improving-base-mapreduce-by-20-on-vectors/134478)

<div class="topic-metadata">

**Author:** [@epilliat](https://discourse.julialang.org/u/epilliat)\
**Replies:** 2\
**Last updated:** [December 12, 2025, 1:32pm UTC](https://discourse.julialang.org/t/improving-base-mapreduce-by-20-on-vectors/134478 "2025-12-12T13:32:17Z")

</div>

Hello everyone, I’ve been exploring reduction operations on GPUs recently, and this led me to investigate CPU performance as well. I discovered that we can improve mapreduce in Base while maintaining full precision for …

---

## [Performance vs # of Alloc Unintuitive behavior](https://discourse.julialang.org/t/performance-vs-of-alloc-unintuitive-behavior/134325)

<div class="topic-metadata">

**Author:** [@Eventine](https://discourse.julialang.org/u/Eventine)\
**Replies:** 11\
**Last updated:** [December 3, 2025, 6:10pm UTC](https://discourse.julialang.org/t/performance-vs-of-alloc-unintuitive-behavior/134325 "2025-12-03T18:10:26Z")

</div>

Hi, new to Julia here. I needed to develop a tool (mainly 200x200 vectors and matrices operations). I wrote a very messy code at start. It had tons of allocations. Measures with @btime performance (I pre-launched everyt…

---

## [Parallelism within Turing.jl model](https://discourse.julialang.org/t/parallelism-within-turing-jl-model/54064)

<div class="topic-metadata">

**Author:** [@EvoArt](https://discourse.julialang.org/u/EvoArt)\
**Replies:** 10\
**Last updated:** [November 25, 2025, 2:08pm UTC](https://discourse.julialang.org/t/parallelism-within-turing-jl-model/54064 "2025-11-25T14:08:40Z")

</div>

Hi there, just wondering how safe it is to use Threads.@threads for loops within turing models e.g. @model function my\_func(Y) alpha ~ Normal(0,1) sigma ~ Normal(0,1) Threads.@threads for i in 1:size(Y)\[2…

[Next page](https://discourse.julialang.org/tag/performance/53.md?match_all_tags=true&page=1&tags%5B%5D=performance)
