# Package precompilation logs/profiling

**URL:** https://discourse.julialang.org/t/package-precompilation-logs-profiling/123776
**Category:** General Usage
**Tags:** question
**Created:** [December 12, 2024, 5:47pm UTC](https://discourse.julialang.org/t/package-precompilation-logs-profiling/123776 "2024-12-12T17:47:16Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Mihai\_Costin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mihai_costin/32/214147_2.png) [@Mihai\_Costin](https://discourse.julialang.org/u/Mihai_Costin)
#### Post date: [December 12, 2024, 5:47pm UTC](https://discourse.julialang.org/t/package-precompilation-logs-profiling/123776/1 "2024-12-12T17:47:16Z")

</div>

Hello! I have a julia package in a public github repo ([GitHub - mihaicostin34/S2MPJ.jl](https://github.com/mihaicostin34/S2MPJ.jl.git)) and when adding it through the REPL I get high precompilation times (just adding the precompTest branch takes 133 seconds). Is there any way I can get some more detailed logs/do some profiling and see what causes it to take so long?

---

<div class="post-metadata">

### Author: ![abraemer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/abraemer/32/51403_2.png) [@abraemer](https://discourse.julialang.org/u/abraemer)
#### Post date: [December 12, 2024, 6:05pm UTC](https://discourse.julialang.org/t/package-precompilation-logs-profiling/123776/2 "2024-12-12T18:05:23Z")

</div>

I am no expert on this but honestly I don’t think there is much you can do here. You have basically no external dependencies that need to be precompiled. It is just **a lot** of code 😮 And Julia needs some time to process that. But the good thing is that it should need that much time only once when adding and afterwards it can just load the precompiled files.

Which Julia version are you using btw? Newer versions are generally faster.

---

<div class="post-metadata">

### Author: ![Mihai\_Costin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mihai_costin/32/214147_2.png) [@Mihai\_Costin](https://discourse.julialang.org/u/Mihai_Costin)
#### Post date: [December 12, 2024, 6:08pm UTC](https://discourse.julialang.org/t/package-precompilation-logs-profiling/123776/3 "2024-12-12T18:08:46Z")

</div>

I see 🥲 I am using julia 1.11
