Pyroscope
Dev tools
profiler
SHOW HN2021
166points
37comments
#289of 2,533 in 2021
Top 12%of 2021 by points
How HN took it
CuriousMostly questions and neutral comments
3 positive, 9 neutral or asking, 0 mixed, 3 critical, out of 15 comments about the project. Thread score -0.02.
Idea: 1 for, 2 againstExecution: 1 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Looks cool and easy to use
From 2 comments
This looks hella cool. Kudos!
sdenton4 on HNNice! Seems super easy to use and the indexing + search are powerful features. Is it possible to configure the period of the sampling profiler? e.g. 1ms or 50ms instead of 10ms?
ramary on HN
Objections
Sampling profilers may miss per-frame detail needed for games
From 2 comments
Coming from a Rust game development background, something that's noticeable to me is that sampling based profiling seeks to solve a different problem than the types of questions…
jms55 on HNSay you sample every 10ms. This frame, and every frame for the sake of example, looks like this: * f1() - 1ms * f2() - 8ms * f3() - 4ms * wait_for_next_frame() - 3ms After 10ms,…
jms55 on HN
Requests
VSCode extension for inline highlighting
From 2 comments
Any plans for a VSCode extension? I want it to highlight slow parts of my code inline like a linting layer.
neolog on HNVSCode could show highlighting from different sources. For example, click a button to show what was slow in CI, in production, in local tests.
neolog on HN
Configurable sampling period
From 1 comment
Nice! Seems super easy to use and the indexing + search are powerful features. Is it possible to configure the period of the sampling profiler? e.g. 1ms or 50ms instead of 10ms?
ramary on HN
Separate profiles per endpoint or tag
From 1 comment
Looks really interesting! How do you avoid data getting all jumbled together though? Like say I’m profiling a web service with 20 endpoints. If I’m profiling locally, I just call…
yashap on HN
Questions
Does it work on Windows?
From 1 comment
Maybe I am overlooking something, but how do I use this on Windows? Do I need to put everything in Docker?
zurfer on HN
How does it compare to JVM profiling agents?
From 1 comment
How does it compare to just using a JVM agent to profile a production app?
still_grokking on HN
What is the performance overhead?
From 1 comment
Looks awesome! Do you have the benchmark on how the profiler would affect the app in term of CPU/Mem usage?
trungdq88 on HN
Alternatives named
Java Flight Recorder
From 1 comment
Java Flight Recorder is also meant for being enabled in production and according to Oracle, typically has a very small footprint (in the order of 1-2% overhead). It even…
brabel on HN
Perfetto
From 1 comment
Have you tried a flameshot graph? It’ll give you a nicer visualization of the relative amount of cpu something took. Sampling profilers are but one thing in the toolbox. On…
vlovich123 on HN
Flamegraphs
From 1 comment
I can't find any references to flameshot graphs, do you mean flamegraphs? They have the same issue, they tend to show the whole program, not per frame. Perfetto does look…
jms55 on HN