Performance measurements

Tara Hernandez tara at tequilarista.org
Wed Oct 23 23:34:57 UTC 2002


Note that there's the standard problem with performance testing which is 
the act of measuring can affect the results.   If you want to do some 
really good benchmarking, measure from a different machine on the same 
subnet (to reduce network lag issues).

My $0.02

-Tara

Bradley Baetz wrote:

>On Wed, 23 Oct 2002, Gervase Markham wrote:
>
>  
>
>>Can people please share with the list the tools they use to measure 
>>Bugzilla performance? For example, does MySQL have a way to time a 
>>query? 
>>    
>>
>
>When you run teh query from mysql it shows the time taken at the end :)
>
>I have a script to generate n bugs; I'll tidy it up and attach it this 
>evening.
>
>  
>
>>How do you time the execution of a CGI script in a webserver? 
>>    
>>
>
>The best way is to  time it from teh cmd line, redirecting to /dev/null, 
>so:
>
>time REQUEST_METHOD=GET QUERY_STRING="foo=bar&bar=1" perl -wT foo.cgi > /dev/null
>
>  
>
>>What's the Perl profiler called, if there is one, and where can I find 
>>out about it?
>>    
>>
>
>perldoc DProf.
>
>dprofpp -S is often useful
>
>Note that occasionally running with -d:DProf segfaults on me; running it
>again fixes it. Thats a perl bug which I haven't managed to track 
>down/report/etc.
>
>  
>
>>That sort of stuff... :-)
>>
>>Gerv
>>    
>>
>
>Bradley
>
>----
>To view or change your list settings, click here:
><http://bugzilla.org/cgi-bin/mj_wwwusr?user=tara@tequilarista.org>
>
>
>  
>




More information about the developers mailing list