]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Removed extra debug/timing prints from graph compiler 50/1850/1
authorHannu Niemistö <hannu.niemisto@semantum.fi>
Fri, 15 Jun 2018 13:39:07 +0000 (16:39 +0300)
committerHannu Niemistö <hannu.niemisto@semantum.fi>
Fri, 15 Jun 2018 13:39:07 +0000 (16:39 +0300)
gitlab #25

Change-Id: Ibeb73046154a53595acd3bb31e51551c4b5c9fe5

bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/GraphCompiler.java

index 53060b767d072409834403e10bb810c870203e51..c1d9609e712b056a2313faebdde51b92a37cb9d6 100644 (file)
@@ -88,7 +88,7 @@ public class GraphCompiler {
                        Collection<TransferableGraph1> dependencies,
                        ExternalFileLoader fileLoader,
                        GraphCompilerPreferences preferences) {
-           out.println(preferences);
+           //out.println(preferences);
            
                Collection<Problem> errors = new ArrayList<Problem>();
                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) {