From: Hannu Niemistö Date: Fri, 15 Jun 2018 13:39:07 +0000 (+0300) Subject: Removed extra debug/timing prints from graph compiler X-Git-Tag: v1.43.0~136^2~464 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F50%2F1850%2F1;p=simantics%2Fplatform.git Removed extra debug/timing prints from graph compiler gitlab #25 Change-Id: Ibeb73046154a53595acd3bb31e51551c4b5c9fe5 --- diff --git a/bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/GraphCompiler.java b/bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/GraphCompiler.java index 53060b767..c1d9609e7 100644 --- a/bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/GraphCompiler.java +++ b/bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/GraphCompiler.java @@ -88,7 +88,7 @@ public class GraphCompiler { Collection dependencies, ExternalFileLoader fileLoader, GraphCompilerPreferences preferences) { - out.println(preferences); + //out.println(preferences); Collection errors = new ArrayList(); GraphStore store = new GraphStore(); @@ -205,11 +205,11 @@ public class GraphCompiler { } private static void run(Runnable runnable) { - long beginTime = System.nanoTime(); + //long beginTime = System.nanoTime(); runnable.run(); - long endTime = System.nanoTime(); + //long endTime = System.nanoTime(); - reportTime(runnable.getClass().getSimpleName(), beginTime, endTime); + //reportTime(runnable.getClass().getSimpleName(), beginTime, endTime); } public static void reportTime(String taskName, long beginTime, long endTime) {