[PATCH 3 of 3] run-tests: add --time option to log times for each test

Mads Kiilerich mads at kiilerich.com
Sat Nov 10 15:11:16 CST 2012


Siddharth Agarwal wrote, On 11/10/2012 12:17 AM:
> # HG changeset patch
> # User Siddharth Agarwal <sid0 at fb.com>
> # Date 1352501370 28800
> # Node ID 7ae632b7138b814de4ddc070cef7d9ca3cf10c6d
> # Parent  b13852f4d046f29c49ec4171e435b86bb8fad017
> run-tests: add --time option to log times for each test
>
> --time also prints out the wall-clock time each test takes in descending order.

That is a lot of extra lines of code in some code that already is a huge 
mess because too many features has been added to it.

What is this feature going to be used for? It seems like something that 
only gives a part of the answer and where a quick hack of the source and 
some shell scripting would be the best way to get the an answer to the 
_real_ question anyway.

/Mads



More information about the Mercurial-devel mailing list