Skip to content

Commit

Permalink
Adding
Browse files Browse the repository at this point in the history
  • Loading branch information
ianoc-stripe committed Sep 12, 2016
1 parent 821ab21 commit 617885e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/java/io/bazel/rulesscala/scalac/ScalaCInvoker.java
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,12 @@ private static void processRequest(List<String> args) throws Exception {
// for(String arg: compilerArgs) {
// System.out.println(" " + arg);
// }

long start = System.currentTimeMillis();

comp.process(compilerArgs);
long stop = System.currentTimeMillis();
System.err.println("Compiler runtime: " + (stop - start) + "ms.");

ConsoleReporter reporter = (ConsoleReporter) reporterField.get(comp);

Expand Down

0 comments on commit 617885e

Please sign in to comment.