performance profiling

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Maex
Regular
Posts: 11
Joined: Sun Jun 24, 2007 9:41 pm
Location: München, Germany
Contact:

performance profiling

Post by Maex »

Hi!

Is there kinda profiling tool to see how much time s9y is spending on what tasks/plugins?
Is there a way to see which non-sidebar plugins are running each time and which are only run on article creation?

Currently I have the problem that it takes about 4 seconds to retrieve only the HTML for an article or the index page (5 articles).
If I use eg. wget it connects, sits there for 3-4 seconds and then I get the page in about 0.02 secs.
MySQL is running with query_cache at about 80-90% and the connections are persistent to localhost via socket.

Using nothing too fancy. 3 simple code nuggets, tagging and categories/syndication list in sidebar.
seredipity markup and emoticons in backend (blog.maexotic.de if anyone cares).

Any ideas?
Thanks,

\Maex
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: performance profiling

Post by garvinhicking »

Hi!

Once in a time I did some debugging output for profiling, but I'm not sure if its still in the code.

You can always use the kvalgrind profiling tools for XDebug, though...

You only have 2 event plugins, is that right?!? If you use tagging in the sidebar, you are forgetting at least about one more event plugin....?!?

Regars,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply