gentree: combine spatches (unless using --gitdebug)
authorJohannes Berg <johannes.berg@intel.com>
Wed, 1 Jan 2014 19:37:13 +0000 (20:37 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 18 Jan 2014 12:42:31 +0000 (13:42 +0100)
commit3c71184d3a2843c9a1d5a289c71bfbbc126d71fd
tree7dcb1acfe26e44b451dcf07f43fac1842e1685cb
parentc2ed7e6cd006e76d1030e4b9944f2800b8175f63
gentree: combine spatches (unless using --gitdebug)

Since spatch is rather slow, but can handle multiple spatches
concatenated in a single file, just do that and run it only
once rather than for each spatch. That shaves off some of the
runtime (startup etc. and finding affected files.)

On my system, I go from

real    9m42.616s
user    8m48.352s
sys     0m22.884s

to

real    9m1.948s
user    8m40.108s
sys     0m12.088s

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
gentree.py