// capture start time
final long startTime = System.currentTimeMillis();
// build the config element
final ElementBuilder elementBuilder = getElementBuilderInstance();
final JMXEval jmxEval = (JMXEval) elementBuilder.build(context);
// process the evals
jmxEval.process(context);
// set elapsed time in seconds
final double elapsedTime = (System.currentTimeMillis() - startTime) / 1000;
context.getResponse().addPerfData(new PerfDataResult(
"time", String.valueOf(elapsedTime), "s", null, null, null, null));