performance counters infrastructure

This commit is contained in:
Dmitry Jemerov
2015-06-03 13:17:12 +02:00
parent a3a33ce089
commit a321e8eef5
10 changed files with 304 additions and 122 deletions
@@ -73,7 +73,11 @@ public class CliBaseTest {
.replace("expected ABI version is " + Integer.toString(JvmAbi.VERSION), "expected ABI version is $ABI_VERSION$")
.replace("\\", "/");
return normalizedOutputWithoutExitCode + exitCode;
return removePerfOutput(normalizedOutputWithoutExitCode) + exitCode;
}
public static String removePerfOutput(String output) {
return output.replaceAll("INFO: PERF:.+\n", "");
}
private void executeCompilerCompareOutput(@NotNull CLICompiler<?> compiler, @NotNull String testDataDir) throws Exception {