# Help to analyze SnoopCompile results. What happens during \`boot.jl\`?

**URL:** <https://discourse.julialang.org/t/help-to-analyze-snoopcompile-results-what-happens-during-boot-jl/85633>\
**Category:** Performance\
**Tags:** question, snoopcompile\
**Created:** [August 11, 2022, 6:29pm UTC](https://discourse.julialang.org/t/help-to-analyze-snoopcompile-results-what-happens-during-boot-jl/85633 "2022-08-11T18:29:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![guilhermebodin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/guilhermebodin/32/6982_2.png) [@guilhermebodin](https://discourse.julialang.org/u/guilhermebodin)\
**Post date:** [August 11, 2022, 6:29pm UTC](https://discourse.julialang.org/t/help-to-analyze-snoopcompile-results-what-happens-during-boot-jl/85633/1 "2022-08-11T18:29:16Z")

</div>

Hello all!

I have followed the tutorials on SnoopCompile about invalidation and inference and I still have a big question, in my case I have some parts of the code that trigger type inferences and I am working on fixing these parts but there is a big part of my FlameGraph that is spent on `boot.jl`. It is the red line on the bottom, what is exactly happening during this time on this function?

 ![Profile_type_inf](https://global.discourse-cdn.com/julialang/original/3X/e/8/e8a5d6726de64323abfa7a01ad220dccac039ddd.png)

---

<div class="post-metadata">

**Author:** ![gbaraldi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gbaraldi/32/22101_2.png) [@gbaraldi](https://discourse.julialang.org/u/gbaraldi)\
**Post date:** [August 11, 2022, 7:02pm UTC](https://discourse.julialang.org/t/help-to-analyze-snoopcompile-results-what-happens-during-boot-jl/85633/2 "2022-08-11T19:02:11Z")

</div>

Lots of things are defined on `boot.jl` so one would have to check where exactly are you spending time

---

<div class="post-metadata">

**Author:** ![guilhermebodin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/guilhermebodin/32/6982_2.png) [@guilhermebodin](https://discourse.julialang.org/u/guilhermebodin)\
**Post date:** [August 11, 2022, 7:15pm UTC](https://discourse.julialang.org/t/help-to-analyze-snoopcompile-results-what-happens-during-boot-jl/85633/3 "2022-08-11T19:15:41Z")

</div>

Indeed it is compiling a lot of code

 ![image](https://global.discourse-cdn.com/julialang/original/3X/0/8/0894a0d9c04aa2880ab9b7d94394c8573845fdf3.png)

Do you know if there is some way of understanding which functions it is compiling at each time?
