summaryrefslogtreecommitdiffstats
path: root/user_guide/general
diff options
context:
space:
mode:
authorGreg Aker <greg.aker@ellislab.com>2011-04-18 22:54:13 +0200
committerGreg Aker <greg.aker@ellislab.com>2011-04-18 22:54:13 +0200
commite6e6e64ab078205153513af24dd4163157efb148 (patch)
treeb261543464df0392a23aeed6d94491b9f96494c7 /user_guide/general
parent3403366d0f457c1dd449076b4177d1aff5cb176c (diff)
changeset: 2204:37301a84c8be
tag: tip user: Greg Aker <greg.aker@ellislab.com> date: Mon Apr 18 15:51:28 2011 -0500 summary: Adding toggle show/hide on database queries in the output profiler. Added a profiler config item to set a threshold of when to hide the queries by default. Additionally, fixed a bug I created earlier today by marking the $CI class var in CI_Profiler as private.
Diffstat (limited to 'user_guide/general')
-rw-r--r--user_guide/general/profiling.html103
1 files changed, 54 insertions, 49 deletions
diff --git a/user_guide/general/profiling.html b/user_guide/general/profiling.html
index f3ea0c6fd..78ece7dcd 100644
--- a/user_guide/general/profiling.html
+++ b/user_guide/general/profiling.html
@@ -105,55 +105,60 @@ This information can be useful during development in order to help with debuggin
<table cellpadding="0" cellspacing="1" border="0" style="width:100%" class="tableborder">
<tr>
- <th>Key</th>
- <th>Description</th>
- <th>Default</th>
- </tr><tr>
-
- <td class="td"><strong>benchmarks</strong></td>
- <td class="td">Elapsed time of Benchmark points and total execution time</td>
- <td class="td">TRUE</td>
- </tr><tr>
-
- <td class="td"><strong>config</strong></td>
- <td class="td">CodeIgniter Config variables</td>
- <td class="td">TRUE</td>
- </tr><tr>
-
- <td class="td"><strong>controller_info</strong></td>
- <td class="td">The Controller class and method requested</td>
- <td class="td">TRUE</td>
- </tr><tr>
-
- <td class="td"><strong>get</strong></td>
- <td class="td">Any GET data passed in the request</td>
- <td class="td">TRUE</td>
- </tr><tr>
-
- <td class="td"><strong>http_headers</strong></td>
- <td class="td">The HTTP headers for the current request</td>
- <td class="td">TRUE</td>
- </tr><tr>
-
- <td class="td"><strong>memory_usage</strong></td>
- <td class="td">Amount of memory consumed by the current request, in bytes</td>
- <td class="td">TRUE</td>
- </tr><tr>
-
- <td class="td"><strong>post</strong></td>
- <td class="td">Any POST data passed in the request</td>
- <td class="td">TRUE</td>
- </tr><tr>
-
- <td class="td"><strong>queries</strong></td>
- <td class="td">Listing of all database queries executed, including execution time</td>
- <td class="td">TRUE</td>
- </tr><tr>
-
- <td class="td"><strong>uri_string</strong></td>
- <td class="td">The URI of the current request</td>
- <td class="td">TRUE</td>
- </tr><tr>
+ <th>Key</th>
+ <th>Description</th>
+ <th>Default</th>
+ </tr>
+ <tr>
+ <td class="td"><strong>benchmarks</strong></td>
+ <td class="td">Elapsed time of Benchmark points and total execution time</td>
+ <td class="td">TRUE</td>
+ </tr>
+ <tr>
+ <td class="td"><strong>config</strong></td>
+ <td class="td">CodeIgniter Config variables</td>
+ <td class="td">TRUE</td>
+ </tr>
+ <tr>
+ <td class="td"><strong>controller_info</strong></td>
+ <td class="td">The Controller class and method requested</td>
+ <td class="td">TRUE</td>
+ </tr>
+ <tr>
+ <td class="td"><strong>get</strong></td>
+ <td class="td">Any GET data passed in the request</td>
+ <td class="td">TRUE</td>
+ </tr>
+ <tr>
+ <td class="td"><strong>http_headers</strong></td>
+ <td class="td">The HTTP headers for the current request</td>
+ <td class="td">TRUE</td>
+ </tr>
+ <tr>
+ <td class="td"><strong>memory_usage</strong></td>
+ <td class="td">Amount of memory consumed by the current request, in bytes</td>
+ <td class="td">TRUE</td>
+ </tr>
+ <tr>
+ <td class="td"><strong>post</strong></td>
+ <td class="td">Any POST data passed in the request</td>
+ <td class="td">TRUE</td>
+ </tr>
+ <tr>
+ <td class="td"><strong>queries</strong></td>
+ <td class="td">Listing of all database queries executed, including execution time</td>
+ <td class="td">TRUE</td>
+ </tr>
+ <tr>
+ <td class="td"><strong>uri_string</strong></td>
+ <td class="td">The URI of the current request</td>
+ <td class="td">TRUE</td>
+ </tr>
+ <tr>
+ <td class="td"><strong>query_toggle_count</strong></td>
+ <td class="td">The number of queries after which the query block will default to hidden.</td>
+ <td class="td">25</td>
+ </tr>
</table>