4 ms·
Ask HN: What are your favorite profiling tools in your language of choice?
- soulbadguy 3y agointel vtune for everything native
- dosshell 3y agoDoes someone knows of a software that can estimate pipeline flushes, execution unit saturation, memory bandwidth and latency limits etc. for a given cpu? Like: simulate a.out And it would give me a report for each line of code and tell me everything that happened on that line. Was it a cache miss? False sharing? Etc. I would pay a lot for that software.
- znpy 3y agoNot sire if what you’re looking for, but cachgind does some measures in that sense. It’s from the same toolbox as valgrind. Alternatively, the perf tools can show some values from the performance counters. If you’re on intel, there is some interesting tooling in that sense (can’t recall the name now, sorry!). I’d love to see similar tooling for arm :(
- pkkm 3y agoHave you tried perf mem [0]? [0] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/monitoring_and_managing_system_status_and_performance/profiling-memory-accesses-with-perf-mem_monitoring-and-managing-system-status-and-performance https://access.redhat.com/documentation/en-us/red_hat_enterp...
- tlb 3y agoApple's Metal GPU profiler is excellent. And it works even if you're using it through WebGPU from C++ compiled outside of XCode. Among other things, when you click on a draw command it shows you a thumbnail of the changes it made on the screen. It does this by saving and re-running the entire window render, highlighting the one command.