Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 4534 invoked from network); 13 Jan 2006 12:10:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Jan 2006 12:10:15 -0000 Received: (qmail 3276 invoked by uid 500); 13 Jan 2006 12:10:09 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 3213 invoked by uid 500); 13 Jan 2006 12:10:08 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 3198 invoked by uid 99); 13 Jan 2006 12:10:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jan 2006 04:10:08 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [62.118.80.130] (HELO petasus.ims.intel.com) (62.118.80.130) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jan 2006 04:10:06 -0800 Received: from MSSMSXVS01.ccr.corp.intel.com (MSSMSXVS01.ccr.corp.intel.com [10.125.2.23]) by petasus.ims.intel.com (8.12.9-20030918-01/8.12.10/d: small-solo.mc,v 1.2 2004/09/17 18:05:04 root Exp $) with SMTP id k0DCNCI0024291 for ; Fri, 13 Jan 2006 12:23:18 GMT Received: from mssmsx331.ccr.corp.intel.com ([10.125.2.16]) by MSSMSXVS01.ccr.corp.intel.com (SAVSMTP 3.1.7.47) with SMTP id M2006011315094429992 for ; Fri, 13 Jan 2006 15:09:44 +0300 Received: from mssmsx402.ccr.corp.intel.com ([10.125.2.12]) by mssmsx331.ccr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 13 Jan 2006 15:09:44 +0300 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Unit test code in HARMONY-16 Date: Fri, 13 Jan 2006 15:12:09 +0300 Message-ID: <6694B22B6436BC43B429958787E45498011D7676@mssmsx402nb> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Unit test code in HARMONY-16 Thread-Index: AcYXkn7SfQot/4ckSySWz6TVZY39JQApi2kA From: "Loenko, Mikhail Y" To: X-OriginalArrivalTime: 13 Jan 2006 12:09:44.0581 (UTC) FILETIME=[3D831B50:01C6183A] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N As far as we did not have special performance tests, we used unit tests to measure performance, i.e. to compare performance of our classes to performance of "standard" classes. So we ran in cycle a single unit test on both when there are our security classes in bootclasspath and when there are not. And compared time. (Of course, not all the tests passed on "RI") Some unit tests print various logs that make execution time volatile. To make it more stable we used log() instead of System.out.print() and in the "performance mode" did not print anything. log() is defined in the PerformanceTest. At some point we had different functionality in the PerformanceTest but it seems to have died now. That is basically it. The results helped us to find a number of performance leaks and improve overall quality of the code.=20 Thanks, Mikhail Loenko Intel Middleware Products Division >-----Original Message----- >From: George Harley1 [mailto:GHARLEY@uk.ibm.com] >Sent: Thursday, January 12, 2006 10:05 PM >To: harmony-dev@incubator.apache.org >Subject: Unit test code in HARMONY-16 > >Hi, > >I have been looking into running the JUnit tests included in HARMONY-16 in >my private sandbox. From what I have seen so far most (all ?) of the test >cases inherit from a base class PerformanceTest in the >com.openintel.drl.security.test package. What is the purpose of this base >class ? > >Best regards, >George >________________________________________ >George C. Harley