cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r448150 - /incubator/cxf/trunk/test/performance/basic_type/src/org/apache/cxf/performance/basic_type/client/Client.java
Date Wed, 20 Sep 2006 10:25:49 GMT
Author: ningjiang
Date: Wed Sep 20 03:25:48 2006
New Revision: 448150

URL: http://svn.apache.org/viewvc?view=rev&rev=448150
Log:
Fixed the performance basic_type test client can't send more than 100K data

Modified:
    incubator/cxf/trunk/test/performance/basic_type/src/org/apache/cxf/performance/basic_type/client/Client.java

Modified: incubator/cxf/trunk/test/performance/basic_type/src/org/apache/cxf/performance/basic_type/client/Client.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/test/performance/basic_type/src/org/apache/cxf/performance/basic_type/client/Client.java?view=diff&rev=448150&r1=448149&r2=448150
==============================================================================
--- incubator/cxf/trunk/test/performance/basic_type/src/org/apache/cxf/performance/basic_type/client/Client.java
(original)
+++ incubator/cxf/trunk/test/performance/basic_type/src/org/apache/cxf/performance/basic_type/client/Client.java
Wed Sep 20 03:25:48 2006
@@ -21,7 +21,7 @@
 
     private static int opid;
     
-    private  byte[] inputBase64 = new byte[100 * 1024];
+    private  byte[] inputBase64;
     private  String inputString = new String();
 
     private final int asciiCount = 1 * 1024;
@@ -40,6 +40,7 @@
 
     public void initTestData() {
         String temp = "abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*()_+?><[]/0123456789";
+        inputBase64 = new byte[1024 * packetSize];
         for (int idx = 0; idx < 4 * packetSize; idx++) {
             for (int jdx = 0; jdx < 256; jdx++) {
                 inputBase64[idx * 256 + jdx] = (byte)(jdx - 128);



Mime
View raw message