directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1385373 - /directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/search/SearchPerfIT.java
Date Sun, 16 Sep 2012 20:50:28 GMT
Author: elecharny
Date: Sun Sep 16 20:50:28 2012
New Revision: 1385373

URL: http://svn.apache.org/viewvc?rev=1385373&view=rev
Log:
Fixed the computation to reflect the way we do it in core-integ

Modified:
    directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/search/SearchPerfIT.java

Modified: directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/search/SearchPerfIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/search/SearchPerfIT.java?rev=1385373&r1=1385372&r2=1385373&view=diff
==============================================================================
--- directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/search/SearchPerfIT.java
(original)
+++ directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/search/SearchPerfIT.java
Sun Sep 16 20:50:28 2012
@@ -241,7 +241,7 @@ public class SearchPerfIT extends Abstra
             long t1 = System.currentTimeMillis();
 
             Long deltaWarmed = ( t1 - t00 );
-            System.out.println( "Delta : " + deltaWarmed + "( " + ( ( ( nbIterations - 50000
) * 1000 ) / deltaWarmed )
+            System.out.println( "Delta : " + deltaWarmed + "( " + ( ( ( nbIterations - 50000
) * 1000 ) / deltaWarmed ) * 5
                 + " per s ) /" + ( t1 - t0 ) );
         }
         catch ( LdapException e )
@@ -342,7 +342,7 @@ public class SearchPerfIT extends Abstra
             long t1 = System.currentTimeMillis();
 
             Long deltaWarmed = ( t1 - t00 );
-            System.out.println( "Delta : " + deltaWarmed + "( " + ( ( ( nbIterations - 50000
) * 1000 ) / deltaWarmed )
+            System.out.println( "Delta : " + deltaWarmed + "( " + ( ( ( nbIterations - 50000
) * 1000 ) / deltaWarmed ) * 10
                 + " per s ) /" + ( t1 - t0 ) );
         }
         catch ( LdapException e )



Mime
View raw message