summaryrefslogtreecommitdiff
path: root/mesonbuild/scripts/coverage.py
diff options
context:
space:
mode:
authorCampbell Jones <serebit@archlinux.org>2024-06-19 18:48:46 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2024-06-23 12:13:36 +0300
commit24cddb6901d8c0421bcff4daa465e422e2d27f44 (patch)
tree872106fb4b8ab1ed85b69082b9c25af93a5c2295 /mesonbuild/scripts/coverage.py
parent410bdf8c6c72fd1a2772e86a2a14298f64f1377b (diff)
downloadmeson-24cddb6901d8c0421bcff4daa465e422e2d27f44.tar.gz
create_test_serialisation: Dedup deps before joining ld_lib paths
In large monolithic codebases with many intertwined shared libraries, test serialization can cause configuration times to balloon massively from a single test() invocation due to concatenating the same paths many times over. This commit adds an initial set in which all dependencies on a test target are stored before their paths are constructed to form the test target's LD_LIB_PATH. In testing on a particularly large codebase, this commit reduced total configuration time by a factor of almost 8x.
Diffstat (limited to 'mesonbuild/scripts/coverage.py')
0 files changed, 0 insertions, 0 deletions