public static Object getPerformanceMetrics(@Key("metricsType") String metricsType,
@Key("testName") String testName) throws Exception {
logger.info(String.format("Loading '%s' Performance metrics for test: %s", metricsType, testName));
UnitTestCase test = (UnitTestCase) TestSetRunnerState.getInstance().getInventory().get(testName);
String goldFileName = test.getGoldFileName();
PerfResultsUtil.PerformanceMetrics type = PerfResultsUtil.PerformanceMetrics
.getPerformanceMetricsFromType(metricsType);
File file = type.getFile(goldFileName);