Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

mantisbt view_all_inc.php,1.161,1.162: msg#00020

bug-tracking.mantis.cvs

Subject: mantisbt view_all_inc.php,1.161,1.162

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>
Google Custom Search

Free Magazines

Cisco News
Receive 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

Navigation

Home | advertise | OSDir is an inevitable website. super tiny logo