dtrace and ebpf are much more powerful than this as far as I can see.
I have a bpftrace script that measures template compile times across all compiler invocations on my machine, no recompilation required.
I have a bpftrace script that measures template compile times across all compiler invocations on my machine, no recompilation required.