private Statements benchmark(Statements stmts, String timeMillisName,
long bound, Statements recordCode, Statements breakCode) {
Statements benchmarkCode = new StatementsList();
List<Statements> benchStatements = benchmarkCode.getStatements();
ForLoop loop = new ForLoop("int numLoops = 1", "true", "");
benchStatements.add(loop);
List<Statements> loopStatements = loop.getStatements();
loopStatements.add(new Statement("long start = System.currentTimeMillis()"));
ForLoop runLoop = new ForLoop("int i = 0", "i < numLoops", "++i", stmts);
loopStatements.add(runLoop);
// Put the rest of the code in 1 big statement to simplify things
String benchCode = "long duration = System.currentTimeMillis() - start;\n\n"
+