perf tests

This commit is contained in:
Alexey Kudravtsev
2011-12-26 13:17:26 +04:00
parent f4f5750701
commit 595f9a7051
@@ -521,16 +521,16 @@ public class PlatformTestUtil {
}
else {
// try one more time
//if (attempts == 0) {
// try {
// Object result = Class.forName("com.intellij.util.ProfilingUtil").getMethod("captureCPUSnapshot").invoke(null);
// System.err.println("CPU snapshot captured in '"+result+"'");
// }
// catch (Exception e) {
// }
//
// throw new AssertionFailedError(logMessage);
//}
if (attempts == 0) {
//try {
// Object result = Class.forName("com.intellij.util.ProfilingUtil").getMethod("captureCPUSnapshot").invoke(null);
// System.err.println("CPU snapshot captured in '"+result+"'");
//}
//catch (Exception e) {
//}
throw new AssertionFailedError(logMessage);
}
System.gc();
System.gc();
System.gc();