Skip to content

Commit 5d1e901

Browse files
committed
Disable performance testing in CI
It turns out that regular changes to the compiler can cause fluctuations to these test cases that are sufficient to make them trip over so we can’t run them in CI. The test should still be valuable to bisect a performance regression after we find it or to verify that a change doesn’t cause a performance regression.
1 parent 2c5b752 commit 5d1e901

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

Tests/PerformanceTest/ci-baselines.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

build-script.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -465,10 +465,6 @@ def run_xctests(
465465
env["SWIFTCI_USE_LOCAL_DEPS"] = "1"
466466
env["SWIFT_SYNTAX_PARSER_LIB_SEARCH_PATH"] = \
467467
os.path.join(toolchain, "lib", "swift", "macosx")
468-
if platform.system() == "Darwin" and platform.machine() == "i386":
469-
# Only perform performance testing on Intel macOS machines because that’s what
470-
# the baselines are written for.
471-
env["BASELINE_FILE"] = os.path.join(TESTS_DIR, "PerformanceTest", "ci-baselines.json")
472468

473469
check_call(swiftpm_call, env=env, verbose=verbose)
474470

0 commit comments

Comments
 (0)