Return-Path: Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: (qmail 15339 invoked from network); 3 Oct 2008 20:12:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Oct 2008 20:12:19 -0000 Received: (qmail 47709 invoked by uid 500); 3 Oct 2008 20:12:12 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 47666 invoked by uid 500); 3 Oct 2008 20:12:12 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 47641 invoked by uid 99); 3 Oct 2008 20:12:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Oct 2008 13:12:12 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Oct 2008 20:11:17 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 8A77B23888F4; Fri, 3 Oct 2008 13:11:22 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r701519 - in /cxf/trunk/benchmark/performance: ./ basic_type/ basic_type/src/org/apache/cxf/performance/basic_type/server/ complex_type/ etc/ soap_http_doc_lit/ soap_http_doc_lit/bin/ Date: Fri, 03 Oct 2008 20:11:22 -0000 To: commits@cxf.apache.org From: gmazza@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081003201122.8A77B23888F4@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: gmazza Date: Fri Oct 3 13:11:21 2008 New Revision: 701519 URL: http://svn.apache.org/viewvc?rev=701519&view=rev Log: Minor cleanups done. Modified: cxf/trunk/benchmark/performance/README.txt cxf/trunk/benchmark/performance/basic_type/build.xml cxf/trunk/benchmark/performance/basic_type/src/org/apache/cxf/performance/basic_type/server/Server.java cxf/trunk/benchmark/performance/complex_type/build.xml cxf/trunk/benchmark/performance/etc/common_build.xml cxf/trunk/benchmark/performance/soap_http_doc_lit/bin/run_java_client cxf/trunk/benchmark/performance/soap_http_doc_lit/build.xml Modified: cxf/trunk/benchmark/performance/README.txt URL: http://svn.apache.org/viewvc/cxf/trunk/benchmark/performance/README.txt?rev=701519&r1=701518&r2=701519&view=diff ============================================================================== --- cxf/trunk/benchmark/performance/README.txt (original) +++ cxf/trunk/benchmark/performance/README.txt Fri Oct 3 13:11:21 2008 @@ -6,31 +6,32 @@ under the root drive. This creates the sub-directory build, which includes all of the product directories. -1. setup the build Enviroment +1. Setup the build environment To build and run the performance test case , you must install -the J2SE Development Kit (JDK) 5.0 +the J2SE Development Kit (JDK) 5.0 or later. -If you want to use ant to build and run the performance test case, -you must install the Apache ant 1.6 build utility. +The performance test cases in the /bin folder under each test require +Apache Ant, V1.6 or later. -The CXF_HOME system variable need to be set to the cxf binary install +The CXF_HOME system variable needs to be set to the cxf binary install directory. - 2. Build the performance test case +2. Build the performance test case There are two types of test case in the performance test case directory. The base directory provide a simple testcase base class for -the client to calculate the server reponse time and throughput. There -for you should build the base directory first, and then build the - othere directory files. +the client to calculate the server response time and throughput. There +you should build the base directory first, and then build the +other directory files. cd base ant - cd ../soap_http_doc_lit + cd ../soap_http_doc_lit (the best one, but /basic_type, /complex_type also available) ant - 3. to run the performance test +3. To run the performance tests + You can cd to soap_http_doc_lit/bin to run the test run_server and run_server.bat just startup the server run_client and run_client.bat can take these argument: @@ -38,10 +39,13 @@ -BasedOn Time setup the invoking count with time -Amount define the invoke times , if based on time it means second -PacketSize define the packet size which client send to server - -Threads define the thread number to run the perform test - Can be a range or comma separated list to run multiple time - with different thread counts. For example: - -Threads 1-4,6,8,10 + -Threads define the number of threads to run the perform test + For soap_http_doc_lit, can be a range or comma separated + list to run multiple time with different thread counts. For example: + -Threads 1-4,6,8,10 -WSDL wsdl location (defaults to the perf.wsdl) -BuildFile location of alternative build.xml file (mostly for running clients/servers) +You can alternatively run them directly using the build.xml file in each +test subdirectory (view the contents of the run_xxx(.bat) files +for the format of those calls--they call the Ant build file directly.) Modified: cxf/trunk/benchmark/performance/basic_type/build.xml URL: http://svn.apache.org/viewvc/cxf/trunk/benchmark/performance/basic_type/build.xml?rev=701519&r1=701518&r2=701519&view=diff ============================================================================== --- cxf/trunk/benchmark/performance/basic_type/build.xml (original) +++ cxf/trunk/benchmark/performance/basic_type/build.xml Fri Oct 3 13:11:21 2008 @@ -17,42 +17,43 @@ specific language governing permissions and limitations under the License. --> + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + -Threads ${cxf.threads} ${pipe}" /> + + + + Modified: cxf/trunk/benchmark/performance/basic_type/src/org/apache/cxf/performance/basic_type/server/Server.java URL: http://svn.apache.org/viewvc/cxf/trunk/benchmark/performance/basic_type/src/org/apache/cxf/performance/basic_type/server/Server.java?rev=701519&r1=701518&r2=701519&view=diff ============================================================================== --- cxf/trunk/benchmark/performance/basic_type/src/org/apache/cxf/performance/basic_type/server/Server.java (original) +++ cxf/trunk/benchmark/performance/basic_type/src/org/apache/cxf/performance/basic_type/server/Server.java Fri Oct 3 13:11:21 2008 @@ -42,7 +42,7 @@ public void run() { System.out.println("running server"); - System.out.println(" READY "); + System.out.println("READY"); } Modified: cxf/trunk/benchmark/performance/complex_type/build.xml URL: http://svn.apache.org/viewvc/cxf/trunk/benchmark/performance/complex_type/build.xml?rev=701519&r1=701518&r2=701519&view=diff ============================================================================== --- cxf/trunk/benchmark/performance/complex_type/build.xml (original) +++ cxf/trunk/benchmark/performance/complex_type/build.xml Fri Oct 3 13:11:21 2008 @@ -17,43 +17,44 @@ specific language governing permissions and limitations under the License. --> + - + - - + + - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + -Threads ${cxf.threads} ${pipe}" /> + + + + Modified: cxf/trunk/benchmark/performance/etc/common_build.xml URL: http://svn.apache.org/viewvc/cxf/trunk/benchmark/performance/etc/common_build.xml?rev=701519&r1=701518&r2=701519&view=diff ============================================================================== --- cxf/trunk/benchmark/performance/etc/common_build.xml (original) +++ cxf/trunk/benchmark/performance/etc/common_build.xml Fri Oct 3 13:11:21 2008 @@ -52,15 +52,6 @@ - - - - - - - - Modified: cxf/trunk/benchmark/performance/soap_http_doc_lit/bin/run_java_client URL: http://svn.apache.org/viewvc/cxf/trunk/benchmark/performance/soap_http_doc_lit/bin/run_java_client?rev=701519&r1=701518&r2=701519&view=diff ============================================================================== --- cxf/trunk/benchmark/performance/soap_http_doc_lit/bin/run_java_client (original) +++ cxf/trunk/benchmark/performance/soap_http_doc_lit/bin/run_java_client Fri Oct 3 13:11:21 2008 @@ -17,13 +17,13 @@ # specific language governing permissions and limitations # under the License. -OPERARTION=echoComplexTypeDoc -#OPERARTION=echoStringDoc -#OPERARTION=echoBase64Doc +OPERATION=echoComplexTypeDoc +#OPERATION=echoStringDoc +#OPERATION=echoBase64Doc BASEDON=Time AMOUNT=30 PACKETSIZE=1 -THREADS=0 +THREADS=1 BUILD_XML=build.xml WSDL= Modified: cxf/trunk/benchmark/performance/soap_http_doc_lit/build.xml URL: http://svn.apache.org/viewvc/cxf/trunk/benchmark/performance/soap_http_doc_lit/build.xml?rev=701519&r1=701518&r2=701519&view=diff ============================================================================== --- cxf/trunk/benchmark/performance/soap_http_doc_lit/build.xml (original) +++ cxf/trunk/benchmark/performance/soap_http_doc_lit/build.xml Fri Oct 3 13:11:21 2008 @@ -17,6 +17,7 @@ specific language governing permissions and limitations under the License. --> + @@ -54,7 +55,24 @@ + + + + + + + + + + + + + + + @@ -80,21 +98,4 @@ jvmargs="-server -XX:CompileThreshold=1000 -Xmx1500M -Xms1500M -Xmn1000M -XX:+UseParallelGC -XX:+UseParallelOldGC"/> - - - - - - - - - - - - - - - -