# \#profile

**URL:** https://discourse.julialang.org/tag/profile/615.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Is this a bug in StatProfilerHTML.jl or Profile.jl?](https://discourse.julialang.org/t/is-this-a-bug-in-statprofilerhtml-jl-or-profile-jl/132247)

<div class="topic-metadata">

**Author:** [@johnomotani](https://discourse.julialang.org/u/johnomotani)\
**Replies:** 0\
**Last updated:** [September 10, 2025, 8:44am UTC](https://discourse.julialang.org/t/is-this-a-bug-in-statprofilerhtml-jl-or-profile-jl/132247 "2025-09-10T08:44:34Z")

</div>

Recently, when I try to use StatProfilerHTML (julia-1.11.6, StatProfilerHTML-1.0.0) I get errors like julia\> statprofilehtml() ERROR: KeyError: key 0x00007e8e4a7fc010 not found Stacktrace: \[1\] getindex(h::Dict{UInt64,…

---

## [New on Forem: “Profile a short-running function”](https://discourse.julialang.org/t/new-on-forem-profile-a-short-running-function/129581)

<div class="topic-metadata">

**Author:** [@oheil](https://discourse.julialang.org/u/oheil)\
**Replies:** 0\
**Last updated:** [June 2, 2025, 7:37pm UTC](https://discourse.julialang.org/t/new-on-forem-profile-a-short-running-function/129581 "2025-06-02T19:37:05Z")

</div>

@nsajko shows some insights into profiling Julia on Forem: Thanks for sharing this!

---

## [Profile results contains no samples from my code](https://discourse.julialang.org/t/profile-results-contains-no-samples-from-my-code/128630)

<div class="topic-metadata">

**Author:** [@xor0110](https://discourse.julialang.org/u/xor0110)\
**Replies:** 2\
**Last updated:** [May 6, 2025, 7:52am UTC](https://discourse.julialang.org/t/profile-results-contains-no-samples-from-my-code/128630 "2025-05-06T07:52:25Z")

</div>

I’m trying to profile my code, the analysis takes a minute or so to run with the cpu at 50%. But no matter what I do, running @profile or @profview gives me results that seem to have no samples from my code. For instance…

---

## [Profiler Timing Related to Line 0](https://discourse.julialang.org/t/profiler-timing-related-to-line-0/71033)

<div class="topic-metadata">

**Author:** [@andrew-saydjari](https://discourse.julialang.org/u/andrew-saydjari)\
**Replies:** 4\
**Last updated:** [March 21, 2024, 11:26am UTC](https://discourse.julialang.org/t/profiler-timing-related-to-line-0/71033 "2024-03-21T11:26:37Z")

</div>

When using the profiler via ProfileSVG I sometimes see significant traceback blocks in the flame graph coming from line “0” of a notebook cell where the function was defined. An recent example is below (sorry for not bei…

---

## [ProfileView.jl makes my computer lag](https://discourse.julialang.org/t/profileview-jl-makes-my-computer-lag/98729)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 10\
**Last updated:** [January 3, 2024, 4:27pm UTC](https://discourse.julialang.org/t/profileview-jl-makes-my-computer-lag/98729 "2024-01-03T16:27:18Z")

</div>

Hello, Since I’ve updated to 1.9, julia makes my computer extremely slow. Note that I also tried with 1.8.5 and it also happens, it coincides with me upgrading to 1.9, but doesn’t seem linked to the version itself. I’m…

---

## [Trouble with PProf: no data?](https://discourse.julialang.org/t/trouble-with-pprof-no-data/105022)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 0\
**Last updated:** [October 16, 2023, 3:45pm UTC](https://discourse.julialang.org/t/trouble-with-pprof-no-data/105022 "2023-10-16T15:45:12Z")

</div>

I do Profile.Allocs.clear() Profile.Allocs.@profile K = conductivity(femm, geom, Temp) PProf.Allocs.pprof() I get but in the browser There is nothing there! When I click on View/Source I get the error m…

---

## [How to interpret results from \`Profile.take\_heap\_snapshot\`?](https://discourse.julialang.org/t/how-to-interpret-results-from-profile-take-heap-snapshot/98610)

<div class="topic-metadata">

**Author:** [@Alseidon](https://discourse.julialang.org/u/Alseidon)\
**Replies:** 0\
**Last updated:** [May 10, 2023, 12:28pm UTC](https://discourse.julialang.org/t/how-to-interpret-results-from-profile-take-heap-snapshot/98610 "2023-05-10T12:28:55Z")

</div>

I tried to use the new Profile.take\_heap\_snapshot function, by following the steps provided in the blog post (on of my Pluto notebooks takes a lot of memory, and I’d like to understand where this comes from) However, I …

---

## [Should we improve the text output of Profile.print()?](https://discourse.julialang.org/t/should-we-improve-the-text-output-of-profile-print/67310)

<div class="topic-metadata">

**Author:** [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Replies:** 2\
**Last updated:** [August 30, 2021, 5:52am UTC](https://discourse.julialang.org/t/should-we-improve-the-text-output-of-profile-print/67310 "2021-08-30T05:52:34Z")

</div>

Currently, if you profile the function mentioned in ProfileView.jl’s README and Profile.print() you get the following output. using Profile function profile\_test(n) for i = 1:n A = randn(100,100,20) …

---

## [ProfileView not loading MacOS](https://discourse.julialang.org/t/profileview-not-loading-macos/57970)

<div class="topic-metadata">

**Author:** [@weymouth](https://discourse.julialang.org/u/weymouth)\
**Replies:** 5\
**Last updated:** [March 26, 2021, 6:40am UTC](https://discourse.julialang.org/t/profileview-not-loading-macos/57970 "2021-03-26T06:40:35Z")

</div>

Unfortunately, I can’t seem to get the ProfileView.view() GUI to load on MacOS. I didn’t have any problems adding or precompiling the package. Profile works. The GUI window pops up, but it stays completely blank and I ge…

---

## [Interprete Profile results](https://discourse.julialang.org/t/interprete-profile-results/55902)

<div class="topic-metadata">

**Author:** [@Lian\_Yunlong](https://discourse.julialang.org/u/Lian_Yunlong)\
**Replies:** 6\
**Last updated:** [March 4, 2021, 8:52am UTC](https://discourse.julialang.org/t/interprete-profile-results/55902 "2021-03-04T08:52:52Z")

</div>

Dear Julia experts, I have profiled my code and get the following results. The major worker in the code is a recursive function. Does this result show that something is wrong with that ? Perhaps I should specify the inp…
