Template call graph

Is it possible to create a call graph with the Go template engine? As in, tracking the fact that _default/single.html executes partials/footer.html via a partial func call. I’m assuming it’s not possible today.

I’m working on the template metrics stuff right now and had the (ridiculous?) idea of creating a template flame graph. :smile:

I’ve also assumed we would need this in order to do partial site rebuilds when a single template is updated in server mode.