@antoine-levitt I didn’t look at your code, so I’m sorry if this doesn’t help. Do you happen to use StaticArrays.jl quite a bit? We experienced significant compilation latency for not-very-small static arrays, see https://github.com/trixi-framework/Trixi.jl/issues/516. We could fix that without decreasing runtime efficiency by switching to plain arrays in our case (see the PR linked in the issue above).