OBJ_MAP_HTML |
= |
"<table cellspacing='2' width='55%'> <tr align='middle' bgcolor='#43bfc7'> <th colspan='2'><font face='Helvetica' size='2' color='white'>Top 20 Ruby classes with the largest number of objects (%START_TIMESTAMP%)</font></th></tr> <tr align='middle' bgcolor='#43bfc7'> <th><font face='Helvetica' size='2' color='white'>Class name</font></th> <th><font face='Helvetica' size='2' color='white'>Number of objects</font></th> %OBJ_MAP_ROW% </table><br></br>" |
OBJ_MAP_ODD_ROW |
= |
"<tr align='middle'> <td align='left' bgcolor='#afdcec'><font face='Tahoma' size='2' color='black'>%s</font></td> <td align='left' bgcolor='#afdcec'><font face='Tahoma' size='2' color='black'>%s</font></td>" |
OBJ_MAP_EVEN_ROW |
= |
"<tr align='middle'> <td align='left'><font face='Tahoma' size='2' color='black'>%s</font></td> <td align='left'><font face='Tahoma' size='2' color='black'>%s</font></td>" |
THREAD_STATUS_HTML |
= |
"<table cellspacing='2' width='100%'> <tr align='middle' bgcolor='#43bfc7'> <th colspan='3'><font face='Helvetica' size='2' color='white'>RubyRun Thread Status Starts (%START_TIMESTAMP%)</font></th> <tr align='middle' bgcolor='#43bfc7'> <th><font face='Helvetica' size='2' color='white'>Thread ID</font></th> <th><font face='Helvetica' size='2' color='white'>Status</font></th> <th><font face='Helvetica' size='2' color='white'>Top of the stack</font></th> %THREAD_STATUS_ROW% </table><br></br>" |
THREAD_STATUS_ODD_ROW |
= |
"<tr align='middle'> <td bgcolor='#afdcec'><font face='Tahoma' size='2' color='black'>%s</font></td> <td bgcolor='#afdcec'><font face='Tahoma' size='2' color='black'>%s</font></td> <td align='left' bgcolor='#afdcec'><font face='Tahoma' size='2' color='black'>%s</font></td>" |
THREAD_STATUS_EVEN_ROW |
= |
"<tr align='middle'> <td><font face='Tahoma' size='2' color='black'>%s</font></td> <td><font face='Tahoma' size='2' color='black'>%s</font></td> <td align='left'><font face='Tahoma' size='2' color='black'>%s</font></td></tr>" |
METHOD_TRACE_HEADER |
= |
"<table cellspacing=2 width=100%> <tr align=center bgcolor=#43BFC7> <th><font face=Helvetica size=2 color=white>Time</font></th> <th><font face=Helvetica size=2 color=white>Thread ID</font></th> <th><font face=Helvetica size=2 color=white>Method Entry/Exit</font></th> <th><font face=Helvetica size=2 color=white>Time Taken</font></th> <th><font face=Helvetica size=2 color=white>Class</font></th> <th><font face=Helvetica size=2 color=white>Method</font></th> <th><font face=Helvetica size=2 color=white>Parameter Value(s)</font></th> <th><font face=Helvetica size=2 color=white>Caller Object Class</font></th> <th><font face=Helvetica size=2 color=white>Caller Method</font></th></tr>" |
METHOD_TRACE_ODD_ROW |
= |
"<tr align=center> <td bgcolor=#AFDCEC><font face='Tahoma' size=2 color=black>%s</font></td> <td bgcolor=#AFDCEC><font face='Tahoma' size=2 color=black>%s</font></td> <td bgcolor=#AFDCEC><font face='Tahoma' size=2 color=black>%s</font></td> <td bgcolor=%s><font face='Tahoma' size=2 color=black>%s</font></td> <td align=left bgcolor=#AFDCEC><font face='Tahoma' size=2 color=black>%s</font></td> <td align=left bgcolor=#AFDCEC><font face='Tahoma' size=2 color=black>%s</font></td> <td align=left bgcolor=#AFDCEC><font face='Tahoma' size=2 color=black>%s</font></td> <td align=left bgcolor=#AFDCEC><font face='Tahoma' size=2 color=black>%s</font></td> <td align=left bgcolor=#AFDCEC><font face='Tahoma' size=2 color=black>%s</font></td></tr>" |
METHOD_TRACE_EVEN_ROW |
= |
"<tr align=center> <td><font face='Tahoma' size=2 color=black>%s</font></td> <td><font face='Tahoma' size=2 color=black>%s</font></td> <td><font face='Tahoma' size=2 color=black>%s</font></td> <td bgcolor=%s><font face='Tahoma' size=2 color=black>%s</font></td> <td align=left><font face='Tahoma' size=2 color=black>%s</font></td> <td align=left><font face='Tahoma' size=2 color=black>%s</font></td> <td align=left><font face='Tahoma' size=2 color=black>%s</font></td> <td align=left><font face='Tahoma' size=2 color=black>%s</font></td> <td align=left><font face='Tahoma' size=2 color=black>%s</font></td></tr>" |
THROUGHPUT_HTML |
= |
"<p align=center><font size='3' face='Verdana'>Performance summary of %APPS_NAME% as of %TIMESTAMP%</font></p> <table id=tblgraph align=center width=80 cellpadding=2 cellspacing=0 border=0> <tr><td bgcolor=WHITE align=center valign=middle width=22 style='writing-mode:tb-rl'><font face=arial size='-1'>Average throughput per min</font></td>%THROUGHPUT_BAR_TABLE%</tr> <tr bgcolor=#505050> <td align=center bordor=1 bgcolor=#FFFFFF> </td>%THROUGHPUT_LABEL_TABLE% <td bgcolor=white align=center><font face=arial size='-2' color=black>Time</font></td> </tr></table>" |
THROUGHPUT_BAR_TABLE |
= |
"<td align=center valign=bottom width=22> <font face=arial size='-2'>%s</font><br> <div style='writing-mode:tb-rl; background-color:firebrick; width:30; height:%d;' /> </td>" |
THROUGHPUT_LABEL_TABLE |
= |
"<td align=center><font face=arial size='-2' color=white>%s</font></td>" |
TOP_SLOWEST_REQUESTS_HTML |
= |
"<p><font size='2' face='Verdana'>Top 10 Slowest Requests</font></p> <table cellspacing=0 width=50%%><tr bgcolor=FF6633> <th><font face=Helvetica size=2 color=#FFFFFF>Controller/Action<font></th> <th><font face=Helvetica size=2 color=#FFFFFF>Response Time<font></th></tr> %TOP_SLOWEST_REQUESTS_TABLE% </table>" |
TOP_SLOWEST_REQUESTS_TABLE |
= |
"<tr><td align=left bgcolor=585858><font face=Helvetica size=2 color=white>%s</font></td> <td><table><tr><td bgcolor=firebrick><div style='writing-mode:tb-rl; background-color:firebrick; width:%d; height:5;' /></td><td><font face=Helvetica SIZE=1>%0.3fs</font></td></tr></table></td></tr>" |
REQ_PERF_BREAKDOWN_HTML |
= |
"<p><font size='2' face='Verdana'>Request Performance Breakdown</font></p> <table cellspacing=0 width=100%> <tr bgcolor=FF6633> <th><font face=Helvetica size=2 color=#FFFFFF>Controller/Action</font></th> <th><font face=Helvetica size=2 color=#FFFFFF>Request Count</font></th> <th><font face=Helvetica size=2 color=#FFFFFF>Response Time</font></th> <th><font face=Helvetica size=2 color=#FFFFFF>Action Time</font></th> <th><font face=Helvetica size=2 color=#FFFFFF>Database IO Time</font></th> <th><font face=Helvetica size=2 color=#FFFFFF>View Time</font></th> <th><font face=Helvetica size=2 color=#FFFFFF>Dispatch Delay Time</font></th> <th><font face=Helvetica size=2 color=#FFFFFF>Uncaptured Time</font></th> </tr>%REQ_PERF_BREAKDOWN_TABLE%</table> <font size='1' face='Verdana'>Note: Process components are results of functional decomposition which overlap each other. As a result, times do not add up to 100%. The hotspots of performance slowdowns, however, are easily accountable from functional standpoint.</font><br></br>" |
REQ_PERF_BREAKDOWN_TABLE_ODD |
= |
'<tr align=center> <td align=left bgcolor=585858><font face=Helvetica size=2 color=white>%s</font></td> <td bgcolor=C0C0C0><font face=Helvetica size=2 color=black>%d</font></td> <td bgcolor=C0C0C0><font face=Helvetica size=2 color=black>%0.3fs</font></td> <td bgcolor=C0C0C0><font face=Helvetica size=2 color=black>%0.3fs (%d%%)</font></td> <td bgcolor=C0C0C0><font face=Helvetica size=2 color=black>%0.3fs (%d%%)</font></td> <td bgcolor=C0C0C0><font face=Helvetica size=2 color=black>%0.3fs (%d%%)</font></td> <td bgcolor=C0C0C0><font face=Helvetica size=2 color=black>%0.3fs (%d%%)</font></td> <td bgcolor=C0C0C0><font face=Helvetica size=2 color=black>%0.3fs</font></td> </tr>' |
REQ_PERF_BREAKDOWN_TABLE_EVEN |
= |
'<tr align=center> <td align=left bgcolor=585858><font face=Helvetica size=2 color=white>%s</font></td> <td><font face=Helvetica size=2 color=black>%d</font></td> <td><font face=Helvetica size=2 color=black>%0.3fs </font></td> <td><font face=Helvetica size=2 color=black>%0.3fs (%d%%)</font></td> <td><font face=Helvetica size=2 color=black>%0.3fs (%d%%)</font></td> <td><font face=Helvetica size=2 color=black>%0.3fs (%d%%)</font></td> <td><font face=Helvetica size=2 color=black>%0.3fs (%d%%)</font></td> <td><font face=Helvetica size=2 color=black>%0.3fs</font></td> </tr>' |