Xcode now supports Processor Trace profiling on M4/A18developer.apple.com 36 pointsladberg1 year ago3 commentsSaveHideCopy link On HNComments−7e1yHow can I use these without the abomination that is Xcode?−sunnyps1yIs this basically like Valgrind, but using CPU counters?−bri3d1yThink like callgrind, but without the overhead.The true x86 equivalent is probably `vtune`For open source there's `perf` + `flamegraph` but that's not interactive, or `KDAB/hotspot` which is probably the closest open-source thing to Apple Instruments.
Comments
How can I use these without the abomination that is Xcode?
Is this basically like Valgrind, but using CPU counters?
Think like callgrind, but without the overhead.
The true x86 equivalent is probably `vtune`
For open source there's `perf` + `flamegraph` but that's not interactive, or `KDAB/hotspot` which is probably the closest open-source thing to Apple Instruments.