Request for review of "Nice report of build times"

mark.reinhold at oracle.com mark.reinhold at oracle.com
Thu Feb 17 04:54:13 UTC 2011


> Date: Wed, 16 Feb 2011 17:19:43 +0100
> From: fredrik.ohrstrom at oracle.com

> As part of our future work in speeding up the build process of OpenJDK
> I think it is necessary that it is easy to see the actual build times.
> 
> This is a suggested patch that reports the build times for the subrepos
> in a nice manner after the build is complete. It looks like this:
> 
> ##### Build times ######################################################
> 
> Started 2011-02-16 16:16
> 
> Ended   2011-02-16 16:44
> 
> Build time corba        00 hours 01 minutes 25 seconds
> 
> Build time hotspot      00 hours 06 minutes 49 seconds
> 
> Build time jaxp         00 hours 00 minutes 18 seconds
> 
> Build time jaxws        00 hours 00 minutes 22 seconds
> 
> Build time jdk          00 hours 19 minutes 13 seconds
> 
> Build time langtools    00 hours 00 minutes 29 seconds
> 
> ------------------------------------------------------------------------
> 
> Build time total        00 hours 28 minutes 37 seconds

A worthy idea, but a more compact format would be easier to read.
Something like this:

-- Build times ----------

Start 2011-02-16 16:16:23
End   2011-02-16 16:44:45

00:01:25  corba
00:06:49  hotspot
00:00:18  jaxp
00:00:22  jaxws
00:19:13  jdk
00:00:29  langtools
00:28:37  TOTAL

-------------------------

- Mark



More information about the build-dev mailing list