patch: speed up status.cgi
jeff vier
jeff.vier at tradingtechnologies.com
Thu Sep 23 16:29:08 CEST 2004
are you sure that was against the latest cvs?
I was able to apply it manually, but the first and third files has all
hunks fail....
On Wed, 2004-09-22 at 22:37 -0400, Matthew Kent wrote:
> I took a look at some of the functions Jason Martin mentioned a while
> back when he profiled status.cgi. I found that add_service_status does
> some unnecessary sorting when reading service status entries back for
> output. From what I can tell, the output of status.dat is already sorted
> alphabetically by hostname and service so I can't see the need to
> resort.
>
> Striping that out took displaying 18,000 services from 50 seconds to 20.
> For 4500 services it was the difference between 5 and 2 seconds.
>
> Patch included against latest cvs.
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
More information about the Developers
mailing list