diff options
author | Andres Freund <andres@anarazel.de> | 2022-10-01 16:55:16 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2022-10-01 16:56:15 -0700 |
commit | b507a7a19b5d9a8ed2500c5a7159353e02846901 (patch) | |
tree | e9107081388169e8edb7d4c4e52c4490a5f3f587 | |
parent | 64b431d15c49ce39a12dcaec78a60b884be1efba (diff) | |
download | postgresql-b507a7a19b5d9a8ed2500c5a7159353e02846901.tar.gz postgresql-b507a7a19b5d9a8ed2500c5a7159353e02846901.zip |
ci: macos: Reduce test concurrency
Test performance regresses noticably when using all cores. This is more
pronounced with meson than with autoconf, presumably because meson will
schedule the "full number" of tests more consistently. 8 seems to work
OK.
Discussion: https://postgr.es/m/20220927040208.l3shfcidovpzqxfh@awork3.anarazel.de
Backpatch: 15-, where CI was introduced
-rw-r--r-- | .cirrus.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index fe8da021eda..638850a0fec 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -226,7 +226,10 @@ task: env: CPUS: 12 # always get that much for cirrusci macOS instances BUILD_JOBS: $CPUS - TEST_JOBS: $CPUS # already fast enough to not be worth tuning + # Test performance regresses noticably when using all cores. 8 seems to + # work OK. See + # https://postgr.es/m/20220927040208.l3shfcidovpzqxfh%40awork3.anarazel.de + TEST_JOBS: 8 CIRRUS_WORKING_DIR: ${HOME}/pgsql/ CCACHE_DIR: ${HOME}/ccache |