|
|
Choosing A Webhost: |
mantisbt view_all_inc.php,1.161,1.162: msg#00020bug-tracking.mantis.cvs
Update of /cvsroot/mantisbt/mantisbt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4233 Modified Files: view_all_inc.php Log Message: First of a batch of possible 'performance' commits - mainly based on simplifying xdebug output This is a fairly minor patch - removes a couple of extra sizeof calls OLD: Xdebug cumulative time for view_all_bug_page for 1 run: 12,957ms Number of DB queries: 88 sizeof: 140 calls for 0.3s NEW: Xdebug cumulative time for view_all_bug_page for 1 run: 12,264ms sizeof: 90 calls for 0.2s Number of DB queries: 88 Index: view_all_inc.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/view_all_inc.php,v retrieving revision 1.161 retrieving revision 1.162 diff -u -d -r1.161 -r1.162 --- view_all_inc.php 18 Jul 2005 18:56:59 -0000 1.161 +++ view_all_inc.php 29 Oct 2005 08:59:46 -0000 1.162 @@ -123,7 +123,8 @@ # -- Loop over bug rows -- - for( $i=0; $i < sizeof( $p_rows ); $i++ ) { + $t_rows = sizeof( $p_rows ); + for( $i=0; $i < $t_rows; $i++ ) { $t_row = $p_rows[$i]; if ( ( 0 == $t_row['sticky'] ) && ( 0 == $i ) ) { ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | mantisbt/lang strings_dutch.txt,1.93,1.94, Alexander Leschinsky |
|---|---|
| Next by Date: | mantisbt/core error_api.php,1.47,1.48, Paul Richards |
| Previous by Thread: | mantisbt/lang strings_dutch.txt,1.93,1.94, Alexander Leschinsky |
| Next by Thread: | mantisbt/core error_api.php,1.47,1.48, Paul Richards |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|