Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
milianw
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
milianw
1y ago
I still think we should find a way to integrate the two somehow - i.e. analyze locally and then send the pre-analyzed data for visualization purposes to the remote firefox profiler. Does anyone know a good format we could use for that purpo
2.
▲
by
milianw
1y ago
You are welcome :) And to people using other IDE/editors - you can configure which one gets opened when you click on a source line from the hotspot settings. QtCreator is just the default (when that is installed).
3.
▲
by
milianw
2y ago
initially yes but then the local power supplier will come and install a bidirectional meter
4.
▲
by
milianw
2y ago
C++/Qt GUI applications (embedded, desktop), mostly for a large customer in the medical sector, i.e. microscopy/imaging/cancer research.
5.
▲
by
milianw
2y ago
True, that's another good point. But again, this reasoning is very different to the one from the linked article and website - if you have oprofile or valgrind's cachegrind available, you clearly could get perf setup instead. I
6.
▲
by
milianw
2y ago
perf is easily available through yocto and buildroot (and probably other embedded linux image builders). hotspot can be downloaded as an appimage. It should not take 30-60min to set this up, but granted, learning the tools the first time al
7.
▲
by
milianw
2y ago
The premise of this website and articles like https://yosefk.com/blog/how-profilers-lie-the-cases-of-gprof... just show that the authors are using the wrong tools. It is nowadays relatively easy to also look at off-CPU
8.
▲
by
milianw
2y ago
With `-z` (zstd compression) you can bring down the disk-space cost of dwarf unwinding by a factor of ~100 based on my personal experience. to GP: What you describe sounds like https://github.com/koute/not-perf to me
9.
▲
by
milianw
2y ago
I don't know exactly what these BSD things did, but there is a super easy way nowadays to get the stack for any process: eu-stack -i -p $(pidof ...) Thanks to debuginfod this will even give you good backtraces right away (at t
10.
▲
by
milianw
2y ago
Sad to see people are still unaware of modern perf profilers like hotspot, tracy, vtune, ... they are easy to setup, work extremely efficient and can nowadays also catch off-cpu time. ctrl+c debugging finds you trivial stuff, but dismissing
11.
▲
by
milianw
2y ago
I managed to read some books rented via the Berlin library system (voebb onleihe) using this software, really great work!
12.
▲
by
milianw
3y ago
MTuner exists for Windows which is similar but different. Porting heaptrack is not straight forward, as it heavily relies on libraries that do not work on Windows or do not support Windows executables and debugging information, such as libu
13.
▲
by
milianw
3y ago
IIUC then you might be looking for https://github.com/facebookexperimental/object-introspection - very new and not yet easily usable outside of the Meta sphere, but goes into that direction, or?
14.
▲
by
milianw
3y ago
So more something like dhat from valgrind? see https://valgrind.org/docs/manual/dh-manual.html ?
15.
▲
by
milianw
3y ago
Heaptrack can handle millions of allocations per second, and thanks to the deduplication built into the trace file format combined with zstd compression, the overhead is pretty manageable. It's pretty hard to get "hundreds of GB&q
16.
▲
by
milianw
3y ago
What is not decent about heaptrack or similar tools?
17.
▲
by
milianw
3y ago
I applaud this initiative. yet I wonder - the ideal situation would be to not throw away the debug info (ever), but rather it should be put into an external file. even Linux supports this for many years and nowadays we even have direct supp
18.
▲
by
milianw
3y ago
well said! doing large scale refactorings or invasive performance optimizations without a sound testing infrastructure is a huge pain. the more often you run into this, the more you'll appreciate tests going forward. but as always, one
19.
▲
Heaptrack v1.5.0 Released
(kdab.com)
2 points
by
milianw
3y ago
|
1 comments
20.
▲
by
milianw
3y ago
I'm very happy about the port to elfutils, it's such a great project!
21.
▲
by
milianw
3y ago
sadly there's also a lot of QNX :(
22.
▲
by
milianw
4y ago
The Qt framework has excellent documentation which made it very easy for me to learn it back then!
23.
▲
by
milianw
5y ago
author here, happy to answer any questions you may have about heaptrack :)
24.
▲
by
milianw
5y ago
I still remember optimizing customer code bases that suffered from horrible startup performance because they instantiated thousands of debug rects unconditionally all the time...
25.
▲
by
milianw
5y ago
You should look into GammaRay which allows you to such debugging without having to change your code. You can literally just pick the element on the screen. See: https://github.com/KDAB/GammaRay/
26.
▲
by
milianw
8y ago
No, but you can use the docker script I use to generate the AppImage as a basis: https://github.com/KDE/heaptrack/blob/master/tools/Dockerfil...