You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by bu...@apache.org on 2003/03/04 11:24:58 UTC
DO NOT REPLY [Bug 17632] New: -
patch to add portlet.getContent() load time to PortletStats service
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17632>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17632
patch to add portlet.getContent() load time to PortletStats service
Summary: patch to add portlet.getContent() load time to
PortletStats service
Product: Jetspeed
Version: 1.4b4-dev /CVS
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: Portlet Container
AssignedTo: jetspeed-dev@jakarta.apache.org
ReportedBy: tkuebler@cisco.com
I've included 4 diffs to add portlet load time to the PortletStats package. It
uses the last field which is typically bytes transferred and is set to "-" in
the portlet stats package. Since the field is the same, i.e. a string
representation of an integer/long it should still work with your standard log
parsing tools with no modification. Of course it is reporting milliseconds it
took to return from 'portlet.getContent()' instead of bytes transferred, but
that should be easy to translate.
If you guys find it useful you are welcome to commit it, I am finding it
extremely useful. I also am toying with the idea of adding the time to call
getcontent to the title bar of each portlet in the same color as the title
bar. I don't know what it would take yet, but the most common problem here is
a slow loading portlet bringing down the whole portal, and how do you figure
out which one? It would be nice to simply highlight the title bar and identify
the offender.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org