X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.graph.compiler%2Fsrc%2Forg%2Fsimantics%2Fgraph%2Fcompiler%2FGraphCompiler.java;h=ed5578992b69123ace2106ec0e52a66ce7df1c22;hb=refs%2Fchanges%2F09%2F2209%2F2;hp=53060b767d072409834403e10bb810c870203e51;hpb=b913419ca9037bf9734c56a5f079024c3a1cd177;p=simantics%2Fplatform.git 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..ed5578992 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 @@ -21,6 +21,10 @@ import org.simantics.databoard.binding.error.BindingException; import org.simantics.databoard.binding.mutable.Variant; import org.simantics.databoard.container.DataContainer; import org.simantics.databoard.container.DataContainers; +import org.simantics.graph.compiler.internal.ltk.FileSource; +import org.simantics.graph.compiler.internal.ltk.ISource; +import org.simantics.graph.compiler.internal.ltk.Location; +import org.simantics.graph.compiler.internal.ltk.Problem; import org.simantics.graph.compiler.internal.parsing.Parsing; import org.simantics.graph.compiler.internal.procedures.AddConsistsOf; import org.simantics.graph.compiler.internal.procedures.ApplyTemplates; @@ -42,10 +46,6 @@ import org.simantics.graph.query.TransferableGraphConversion; import org.simantics.graph.representation.Extensions; import org.simantics.graph.representation.TransferableGraph1; import org.simantics.graph.store.GraphStore; -import org.simantics.ltk.FileSource; -import org.simantics.ltk.ISource; -import org.simantics.ltk.Location; -import org.simantics.ltk.Problem; public class GraphCompiler { @@ -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) {