# Template call graph

**URL:** https://discourse.gohugo.io/t/template-call-graph/32114
**Category:** dev
**Created:** [April 1, 2021, 8:40pm UTC](https://discourse.gohugo.io/t/template-call-graph/32114 "2021-04-01T20:40:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![moorereason](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/moorereason/32/592_2.png) [@moorereason](https://discourse.gohugo.io/u/moorereason)
#### Post date: [April 1, 2021, 8:40pm UTC](https://discourse.gohugo.io/t/template-call-graph/32114/1 "2021-04-01T20:40:20Z")

</div>

@bep,  
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. 😄

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