Max Haughton
Max Haughton
The apple ecosystem profiler (instruments) could be integrated as well. The basic data neeed for any tool is homogenous, you just need to implement some parser.
Keep it simple stupid to start with
perf is very powerful but surprisingly hard to use reliably from other tooling. long story.
benchmarking and profiling are different but I think it's probably doable to automate both. talk soon
``` bytes allocated, allocations, type, function, file:line 800640 197 void[] dmd.root.rmem.Mem.xcalloc src/dmd/root/rmem.d:58 648048 1761 dmd.dscope.Scope dmd.dscope.Scope.alloc src/dmd/dscope.d:159 518320 2945 dmd.mtype.TypeIdentifier dmd.root.rmem.allocClass src/dmd/root/rmem.d:232 493200 841 void[] dmd.root.rmem.Mem.xmalloc_noscan src/dmd/root/rmem.d:50 447216 5692 void[]...

now compare with a proper flame graph
This feels like more of a symptom of Ubuntu LTS releases keeping stuff extremely old than anything we can actually fix. ubuntu focal should hopefully be on it's way out....
I guess dub describe already exists so it could be a sub-whatever of that
> maybe it's better to separate `dub select` and `dub explain` into two PRs. "Everything should be made as simple as possible, but no simpler" - (Not) Einstein