# Profiling in VSCode returns some red bars with "Flag: GC" - what do they mean?

**URL:** <https://discourse.julialang.org/t/profiling-in-vscode-returns-some-red-bars-with-flag-gc-what-do-they-mean/109570>\
**Category:** General Usage\
**Created:** [February 1, 2024, 1:07pm UTC](https://discourse.julialang.org/t/profiling-in-vscode-returns-some-red-bars-with-flag-gc-what-do-they-mean/109570 "2024-02-01T13:07:05Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Ahmed\_Salih](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ahmed_salih/32/206579_2.png) [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Post date:** [February 5, 2024, 2:22pm UTC](https://discourse.julialang.org/t/profiling-in-vscode-returns-some-red-bars-with-flag-gc-what-do-they-mean/109570/5 "2024-02-05T14:22:19Z")

</div>

You commented the perfect time, was just testing something. Basically using `TimerOutputs` package I am tracking each function - I think there is a bug in the package somewhere, since I see a low number of allocs for functions when `BenchmarkTools` would say zero. But back on track the function `updatexᵢⱼ!` returns 0 allocs:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/d/5/d506b60fafdb428d8ba1dc17575928a533895571.png)

But I get the GC flag for this function and two others as well;

 ![image](https://global.discourse-cdn.com/julialang/original/3X/b/1/b130b786dedd31dd8f7c851b9b757f98227fa32f.png)

And I just don’t know why.

Kind regards

---

_[View the full topic](https://discourse.julialang.org/t/profiling-in-vscode-returns-some-red-bars-with-flag-gc-what-do-they-mean/109570)._
