DescriptionCleanup run-bindings-tests and use filecmp (23% faster r-b-t)
The use of filecmp:
* speeds up r-b-t by 23% (if no diffs): (885 ms vs. 1.150 sec)
* uses only 1 process (if no diffs): 30 => 1
* if diffs, same speed
(can't measure difference, because filecmp is basically instantaneous on my machine)
Also some cleanup:
* remove dead code
* simplify temp file handling (caused build bot failures previously)
* don't catch exceptions, so easier to debug errors in CG
(because it's just one process now)
Currently r-b-t launches a separate diff(1) process for each file it compares.
Python has a built-in diff facility, which is extremely fast and avoids other processes.
This should make a big difference on Windows, meaning faster uploads for
Windows developers and less load on build bots.
Also a lot of the code is no longer necessary, after Terry's simplifications.
We can eliminate all the redundant temp file handling, and just need a simple
temp dir class.
R=haraken
BUG=341748
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170315
Patch Set 1 #Patch Set 2 : Comment #Patch Set 3 : More cruft #
Total comments: 6
Patch Set 4 : More cruft #Patch Set 5 : Revised #Patch Set 6 : Revised #Messages
Total messages: 6 (0 generated)
|