Re: comments plugin...slow?
will guaraldi <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 18 May 2004, gabor wrote: > > i've timed the execution speed of pyblosxom on my blog... > > at the beginning it took around 0.3seconds to display the page > > then i installed the textile plugin, and it went up to 1.0seconds > > after that i installed the comments plugin, and now it's around > 1.9seconds... > > i can understand that textile needs time to load..but why takes it > sooooooo long for the comments plugin? on the main page (which i tested) > there is nothing that is generated by the comments plugin... Ahh but the comments plugin generates a $num_comments variable for every entry that gets displayed. In order to do this, it has to parse all the comments for that entry. So even if you don't use the $num_comments variable, it's there and the comments plugin generates it. /will ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click