Interpretation of Juno's profiler visualization

In spite of having used Juno for a while, I have only just recently started using its profiler visualization, which I find very nice. However I do have a couple questions about how to interpret the visualization:

  1. The documentation states that in the flamechart, yellow means dynamic dispatch and red means garbage collection. But I also see blue boxes. What does blue mean? Allocation?
  2. In the source code, I see yellow bars on both function calls and function declarations. I understand the former – it means the call was dispatched dynamically – but what does yellow on a function declaration mean?
1 Like

Blue boxes mean that we didn’t detect GC events or dynamic dispatch.

Probably that Julia’s profiler reported the wrong line, although there’s a chance that it got attributed to e.g. the kwarg wrapper doing dynamic dispatch.

2 Likes