|
11 | 11 | Timestamp<br>
|
12 | 12 | Ip
|
13 | 13 | </th>
|
| 14 | + |
14 | 15 | <th align="left" width="150">
|
15 | 16 | Server Info
|
16 | 17 | </th>
|
| 18 | + |
17 | 19 | <th align="left" width="75">
|
18 | 20 | Response
|
19 | 21 | </th>
|
| 22 | + |
20 | 23 | <th align="left">
|
21 | 24 | Request
|
22 | 25 | </th>
|
| 26 | + |
23 | 27 | <th width="100" title="Free memory difference between start and end of the request">
|
24 |
| - Free Memory |
| 28 | + Memory Diff |
25 | 29 | </th>
|
26 |
| - <th width="50"> |
| 30 | + |
| 31 | + <cfif args.debuggerConfig.cborm.enabled> |
| 32 | + <th width="65"> |
| 33 | + cborm |
| 34 | + <br> |
| 35 | + time + % |
| 36 | + </th> |
| 37 | + </cfif> |
| 38 | + |
| 39 | + <cfif args.debuggerConfig.acfSql.enabled> |
| 40 | + <th width="65"> |
| 41 | + ACF SQL |
| 42 | + <br> |
| 43 | + time + % |
| 44 | + </th> |
| 45 | + </cfif> |
| 46 | + |
| 47 | + <cfif args.debuggerConfig.qb.enabled> |
| 48 | + <th width="65"> |
| 49 | + QB |
| 50 | + <br> |
| 51 | + time + % |
| 52 | + </th> |
| 53 | + </cfif> |
| 54 | + |
| 55 | + <th width="65"> |
27 | 56 | Time<br>
|
28 | 57 | (ms)
|
29 | 58 | </th>
|
| 59 | + |
30 | 60 | <th width="50">
|
31 | 61 | Actions
|
32 | 62 | </th>
|
33 | 63 | </tr>
|
34 | 64 |
|
35 | 65 | <cfloop array="#args.profilers#" index="thisProfiler">
|
| 66 | + |
36 | 67 | <tr
|
37 | 68 | @dblclick="loadProfilerReport( '#thisProfiler.id#' )"
|
38 | 69 | <cfif thisProfiler.response.statusCode gte 400>class="cbd-bg-light-red"</cfif>
|
|
91 | 122 | <cfelseif thisProfiler.response.statusCode gte 400>
|
92 | 123 | <span class="cbd-text-red">
|
93 | 124 | #thisProfiler.response.statusCode#
|
| 125 | + <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.172 16.172a4 4 0 015.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg> |
94 | 126 | </span>
|
95 | 127 | </cfif>
|
96 | 128 | </div>
|
|
132 | 164 | </cfif>
|
133 | 165 | </td>
|
134 | 166 |
|
| 167 | + <!--- CBORM Time ---> |
| 168 | + <cfif args.debuggerConfig.cborm.enabled> |
| 169 | + <td align="right"> |
| 170 | + <cfset timerClass = thisProfiler.cborm.totalExecutionTime gt args.debuggerConfig.requestTracker.slowExecutionThreshold ? "cbd-text-red" : ""> |
| 171 | + <span class="#timerClass#"> |
| 172 | + #numberFormat( thisProfiler.cborm.totalExecutionTime )# ms |
| 173 | + <br> |
| 174 | + <span title="Percentage of total request time"> |
| 175 | + #numberFormat( (thisProfiler.cborm.totalExecutionTime / thisProfiler.executionTime) * 100, "0.00" )#% |
| 176 | + </span> |
| 177 | + </span> |
| 178 | + </td> |
| 179 | + </cfif> |
| 180 | + |
| 181 | + <!--- CFSQL Time ---> |
| 182 | + <cfif args.debuggerConfig.acfSql.enabled> |
| 183 | + <td align="right"> |
| 184 | + <cfset timerClass = thisProfiler.cfQueries.totalExecutionTime gt args.debuggerConfig.requestTracker.slowExecutionThreshold ? "cbd-text-red" : ""> |
| 185 | + <span class="#timerClass#"> |
| 186 | + #numberFormat( thisProfiler.cfQueries.totalExecutionTime )# <br> |
| 187 | + <span title="Percentage of total request time"> |
| 188 | + #numberFormat( thisProfiler.cfQueries.totalExecutionTime / thisProfiler.executionTime, "00.00" )#% |
| 189 | + </span> |
| 190 | + </span> |
| 191 | + </td> |
| 192 | + </cfif> |
| 193 | + |
| 194 | + <!--- QB Time ---> |
| 195 | + <cfif args.debuggerConfig.qb.enabled> |
| 196 | + <td align="right"> |
| 197 | + <cfset timerClass = thisProfiler.qbQueries.totalExecutionTime gt args.debuggerConfig.requestTracker.slowExecutionThreshold ? "cbd-text-red" : ""> |
| 198 | + <span class="#timerClass#"> |
| 199 | + #numberFormat( thisProfiler.qbQueries.totalExecutionTime )# <br> |
| 200 | + <span title="Percentage of total request time"> |
| 201 | + #numberFormat( thisProfiler.qbQueries.totalExecutionTime / thisProfiler.executionTime, "00.00" )#% |
| 202 | + </span> |
| 203 | + </span> |
| 204 | + </td> |
| 205 | + </cfif> |
| 206 | + |
135 | 207 | <!--- Execution Time --->
|
136 | 208 | <td align="right">
|
137 |
| - <cfif thisProfiler.executionTime gt args.debuggerConfig.requestTracker.slowExecutionThreshold> |
138 |
| - <span class="cbd-text-red"> |
139 |
| - #numberFormat( thisProfiler.executionTime )# |
140 |
| - </span> |
141 |
| - <cfelse> |
| 209 | + <cfset timerClass = thisProfiler.executionTime gt args.debuggerConfig.requestTracker.slowExecutionThreshold ? "cbd-text-red" : ""> |
| 210 | + <span class="#timerClass#"> |
142 | 211 | #numberFormat( thisProfiler.executionTime )#
|
143 |
| - </cfif> |
| 212 | + </span> |
144 | 213 | </td>
|
145 | 214 |
|
146 | 215 | <!--- ACTIONS --->
|
|
0 commit comments