long runs = 1000000;
ScriptEvaluator script = new ScriptEvaluator(javaImports, "return x; ", Integer.class, new String[] { "x" }, new Class[] { Integer.class }, "myQuery");
long start = System.currentTimeMillis();
int checksum = 0;
for (long i = 0; i < runs; i++) {
Object result = script.evaluate(new Integer(1));
// Integer result = (Integer) script.evaluate(new Integer(1));
// Integer result = new Long(i).intValue();
checksum += (result != null ? 1 : 0);
// checksum += result;
}