Map<Integer, Long> runningTimes = new HashMap<Integer, Long>(); // running time of a script prefix ending at line N
List<String> runs = new ArrayList<String>();
String loadAlias = getLoadAlias(parsedPigScript);
for (String alias = loadAlias; alias != null; alias = parsedPigScript.outEdge(alias)) {
runs.add(alias);
}
runs.add(null); // whole thing
for (int prefix = 0; prefix < runs.size(); prefix++) {