7ebb4817

By: Tom Sydney Kerckhove <syd@cs-syd.eu>

Compile an instrumented library once, not twice

A library whose test suites this check runs was built twice from the same
source with the same flags: once for its manifest, and once with
'--enable-tests', which is what produces the test executables. Nothing was
shared between them, so a check paid for the whole library twice on a cold
build, and for a large one that is the bulk of what it costs.

The second build writes a manifest of its own, because the plugin runs over
the library there just as it does in the first, and for the same revision the
two are byte-identical. So the manifest comes from whichever build the check
needs anyway, and for a package whose suites are run here the instrument-only
build is never realised. A library whose suites belong to another package has
no such build and is unaffected.
GitHub

Total

3m14s

Created Started Finished

Time to Start Worker time Duration Time to finish Idle
Config 1s 1s 1s 2s 1s
Eval 13s 2m02s 3m03s 3m16s 2m13s
Build - - - - -
Suite 1s 2m03s 3m14s 3m16s 2m14s

Timeline

Config Eval Failed Retried Compressed gap
0s20s30s40s50s1m1m10s2m20s2m30s2m40s2m50s3m3m10s