directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r463338 - /directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/codec/bind/BindRequestPerfTest.java
Date Thu, 12 Oct 2006 17:35:48 GMT
Author: elecharny
Date: Thu Oct 12 10:35:47 2006
New Revision: 463338

URL: http://svn.apache.org/viewvc?view=rev&rev=463338
Log:
Changed the number of loop in order to avoid a very long running test

Modified:
    directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/codec/bind/BindRequestPerfTest.java

Modified: directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/codec/bind/BindRequestPerfTest.java
URL: http://svn.apache.org/viewvc/directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/codec/bind/BindRequestPerfTest.java?view=diff&rev=463338&r1=463337&r2=463338
==============================================================================
--- directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/codec/bind/BindRequestPerfTest.java
(original)
+++ directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/codec/bind/BindRequestPerfTest.java
Thu Oct 12 10:35:47 2006
@@ -85,7 +85,7 @@
         // Decode the BindRequest PDU
         try
         {
-            int nbLoops = 1000000;
+            int nbLoops = 10;
             long t0 = System.currentTimeMillis();
             
             for ( int i = 0; i < nbLoops; i++ )
@@ -157,7 +157,7 @@
     public void testEncodeBindRequestPerf() throws Exception
     {
         LdapDN name = new LdapDN( "uid=akarasulu,dc=example,dc=com" );
-        int nbLoops = 10000000;
+        int nbLoops = 10;
         long t0 = System.currentTimeMillis();
         ByteBuffer bb=null;
         



Mime
View raw message