From cf82001f197288c9816c2d7adcc09c08205cfa42 Mon Sep 17 00:00:00 2001 From: Dave McLain Date: Tue, 26 Apr 2011 14:39:01 -0500 Subject: Integrating line_profiler --- .../templates/debug_toolbar/panels/profiling.html | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'debug_toolbar/templates') 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 @@ {% trans "Call" %} - {% trans "TotTime" %} - {% trans "Per" %} {% trans "CumTime" %} {% trans "Per" %} + {% trans "TotTime" %} + {% trans "Per" %} {% trans "Count" %} @@ -25,12 +25,21 @@ {{ call.func_std_string }} - {{ call.tottime|floatformat:3 }} - {{ call.tottime_per_call|floatformat:3 }} {{ call.cumtime|floatformat:3 }} {{ call.cumtime_per_call|floatformat:3 }} + {{ call.tottime|floatformat:3 }} + {{ call.tottime_per_call|floatformat:3 }} {{ call.count }} + {% if call.line_stats_text %} + + +
+						{{ call.line_stats_text }}
+					
+ + + {% endif %} {% endfor %} - + \ No newline at end of file -- cgit v1.2.3