It seems feasible to trace the rendering of individual Jinja2 blocks. This could help users determine which parts of their templates are slow.
In our interception of Template.render(), we could iterate over the template's blocks attribute and somehow patch the blocks to be instrumented.