Skip to content

Commit

Permalink
2.1.1.0 add page parts snippet tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Apr 10, 2021
1 parent 1a539ad commit 0eb49bb
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion box.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name":"Lucee Performance Analyzer",
"author":"Zac Spitzer",
"version":"2.1.0.9",
"version":"2.1.1.0",
"bugs":"https://github.com/zspitzer/lucee-performance-analyzer/issues",
"thumbnail": "https://raw.githubusercontent.com/zspitzer/lucee-performance-analyzer/master/build/images/logo.png",
"changelog":"",
Expand Down
4 changes: 2 additions & 2 deletions build.number
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
#Sat Apr 10 17:31:55 CEST 2021
build.number=10
#Sat Apr 10 18:04:46 CEST 2021
build.number=1
2 changes: 1 addition & 1 deletion build.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bundlename: PerformanceAnalyzer.extension
bundleversion: 2.1.0.
bundleversion: 2.1.1.
codename: PerformanceAnalyzer
camelname: performanceAnalyzer
category: admin plugin logs performance
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion source/cfml/plugins/parts.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</thead>
<tbody>
<cfoutput query="local.q" maxrows=#arguments.req.maxrows#>
<tr class="#altRow(local.q.currentRow)#">
<tr class="#altRow(local.q.currentRow)#" title="#encodeForHTMLAttribute(local.q.snippet)#">
#renderTemplateLink( arguments.req, local.q.template )#
<td align="right">#local.q.lines#</td>
<td align="right">#NumberFormat( local.q.totalTime / ( 1000 * 1000 ) )#</td>
Expand Down
4 changes: 2 additions & 2 deletions source/cfml/plugins/perf.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,9 @@ component {
<cfquery name="local.q_parts" dbtype="query">
select template, lines, min(_min) as minTime, max(_max) as maxTime, avg(_avg) as avgTime,
sum(total) as totalTime, sum(_count) as totalCount,
sum(total) as total, count(*) as executions
sum(total) as total, count(*) as executions, snippet
from q_parts
group by template, lines
group by template, lines, snippet
order by totalTime desc
</cfquery>
```
Expand Down

0 comments on commit 0eb49bb

Please sign in to comment.