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. Thanks, Mikhail Loenko Intel Middleware Products Division >-----Original Message----- >From: George Harley1 [mailto:[EMAIL PROTECTED] >Sent: Thursday, January 12, 2006 10:05 PM >To: [email protected] >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
