diff options
Diffstat (limited to 'debug_toolbar/templates')
| -rw-r--r-- | debug_toolbar/templates/debug_toolbar/panels/profiling.html | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/panels/profiling.html b/debug_toolbar/templates/debug_toolbar/panels/profiling.html index ebc91cc..ef42230 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/profiling.html +++ b/debug_toolbar/templates/debug_toolbar/panels/profiling.html @@ -4,10 +4,10 @@ <thead> <tr> <th>{% trans "Call" %}</th> - <th>{% trans "TotTime" %}</th> - <th>{% trans "Per" %}</th> <th>{% trans "CumTime" %}</th> <th>{% trans "Per" %}</th> + <th>{% trans "TotTime" %}</th> + <th>{% trans "Per" %}</th> <th>{% trans "Count" %}</th> </tr> </thead> @@ -25,12 +25,21 @@ <span class="stack">{{ call.func_std_string }}</span> </div> </td> - <td>{{ call.tottime|floatformat:3 }}</td> - <td>{{ call.tottime_per_call|floatformat:3 }}</td> <td>{{ call.cumtime|floatformat:3 }}</td> <td>{{ call.cumtime_per_call|floatformat:3 }}</td> + <td>{{ call.tottime|floatformat:3 }}</td> + <td>{{ call.tottime_per_call|floatformat:3 }}</td> <td>{{ call.count }}</td> </tr> + {% if call.line_stats_text %} + <tr> + <td colspan='6'> + <pre style='font-family:Courier, monospace'> + {{ call.line_stats_text }} + </pre> + </td> + </tr> + {% endif %} {% endfor %} </tbody> -</table> +</table>
\ No newline at end of file |
