public void parsePerformanceRules(TestClass testClass)
{
PerformanceTest performanceTest = (PerformanceTest) testClass.getAnnotation(PerformanceTest.class);
if(performanceTest != null)
{
PerformanceClassResult classPerformance =
new PerformanceClassResult(performanceTest, testClass.getName());
PerformanceSuiteResult suitePerformance = suiteResultInst.get();
if(suitePerformance == null)
{
suitePerformance = new PerformanceSuiteResult(classPerformance.getTestClassName());
suiteResultInst.set(suitePerformance);
}
suitePerformance.addClassResult(testClass.getName(), classPerformance);
}