]> git.ipfire.org Git - thirdparty/glibc.git/commit - locale/Makefile
locale: Optimize tst-localedef-path-norm
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 19 Jul 2022 13:30:34 +0000 (10:30 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 22 Jul 2022 14:06:16 +0000 (11:06 -0300)
commit6c4ed247bf5aee6416c8c81a394cf692e068a579
tree45b9cda4e333f604074228a89a7d3afac24272e4
parentac8047cdf326504f652f7db97ec96c0e0cee052f
locale: Optimize tst-localedef-path-norm

The locale generation are issues in parallel to try speed locale
generation.  The maximum number of jobs are limited to the online
CPU (in hope to not overcommit on environments with lower cores
than tests).

On a Ryzen 9, the test execution improves from ~6.7s to ~1.4s.

Tested-by: Mark Wielaard <mark@klomp.org>
locale/Makefile
locale/tst-localedef-path-norm.c