JDK-7005951 : javac should have way of reporting execution time
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 7
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2010-12-10
  • Updated: 2010-12-10
Related Reports
Relates :  
Description
javac can report how long it takes as part of -verbose, but that generates a lot of other info as well as execution time.

We should make so that javac can report (just) its execution time in a way that can be grepped from a build log, for the benefit of computing that actual time used by javac in one or more compilations.

Comments
EVALUATION If necessary, use short term -XD switch. Long term, extend -verbose to be more lint-like, with optional suboptions like -verbose:time -verbose:classreader etc and -verbose == -verbose:all
10-12-2010