Bug#699083: lintian: optimize t/tests suite
Control: tags -1 pending
On 2013-02-24 17:41, Niels Thykier wrote:
> On 2013-02-23 00:26, Niels Thykier wrote:
>>>>>> Running Lintian on all our t/tests artifacts[3], this patch reduces the
>>>>>> user time with about 6 minutes. That is a drop from ~21 to ~15 minutes
>>>>>> in time's output. Real time seems to have dropped to 5m 30s from 6m
>>>>>> {0..30}s.
>>>>>>
>[...]
> So if we want the test suite under 30m user time, we probably have to
> start optimizing outside Lintian itself. In my experience, the test
> runner (i.e. t/runtests) does not cause a real overhead on its own. So
> either it is time to optimize the package building process in specific
> tests or in general (e.g. dpkg-gencontrol).
>
> ~Niels
>
> [...]
Today:
"""
$ time t/runtests --dump-logs -k t debian/test-out suite:tests -j4
[...]
real 5m56.967s
user 15m38.488s
sys 4m6.696s
"""
These timings are from my laptop (and not my "heavy-duty" build machine,
which was used in all my other benchmarks). The timings were obtained
by using the new test-artifact caching in t/runtests. The run building
that cache was sadly still horribly slow, but at least it is (mostly) a
one-time price now.
I will consider this as good as it gets for now and close this bug in
2.5.21.
~Niels
Reply to: