From b74c985614caa336fdb1b956df5b1af69cdf8f85 Mon Sep 17 00:00:00 2001
From: Rob Hudson
Date: Mon, 8 Sep 2008 11:23:20 -0700
Subject: I forgot to really *add* the cache stats panel by David Cramer.
---
.../templates/debug_toolbar/panels/cache.html | 54 ++++++++++++++++++++++
1 file changed, 54 insertions(+)
create mode 100644 debug_toolbar/templates/debug_toolbar/panels/cache.html
(limited to 'debug_toolbar/templates')
diff --git a/debug_toolbar/templates/debug_toolbar/panels/cache.html b/debug_toolbar/templates/debug_toolbar/panels/cache.html
new file mode 100644
index 0000000..9d51404
--- /dev/null
+++ b/debug_toolbar/templates/debug_toolbar/panels/cache.html
@@ -0,0 +1,54 @@
+
Cache Usage
+
+
+
+
+
+
+
+
+
+
+
+
+ | Total Calls |
+ {{ cache_calls }} |
+ Total Time |
+ {{ cache_time }} |
+ Hits |
+ {{ cache.hits }} |
+ Misses |
+ {{ cache.misses }} |
+
+
+ | gets |
+ {{ cache.gets }} |
+ sets |
+ {{ cache.sets }} |
+ deletes |
+ {{ cache.deletes }} |
+ get_many |
+ {{ cache.get_many }} |
+
+
+Breakdown
+
+
+
+ | Time (ms) |
+ Type |
+ Parameters |
+ Function |
+
+
+
+ {% for query in cache.calls %}
+
+ | {{ query.0|floatformat:"4" }} |
+ {{ query.1|escape }} |
+ {{ query.2|escape }} |
+ {{ query.3.2|escape }}: {{ query.3.3.0|escape }} |
+
+ {% endfor %}
+
+
\ No newline at end of file
--
cgit v1.2.3