diff options
author | Ben Gamari <ben@smart-cactus.org> | 2022-01-25 19:46:18 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2023-01-19 14:21:31 -0500 |
commit | 6d35b379c45fa83d8ce6b9d04a98275e86ab5b8b (patch) | |
tree | 3ab0afdeb091f03b9322930d3b1e54c2dd485d50 | |
parent | 5291db8ff40e38d67aec05092bc826251e7a5c08 (diff) | |
download | haskell-wip/perf-ci.tar.gz |
gitlab-ci: Hack it inwip/perf-ci
-rwxr-xr-x | .gitlab/gen_ci.hs | 3 | ||||
-rw-r--r-- | testsuite/tests/perf/compiler/all.T | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab/gen_ci.hs b/.gitlab/gen_ci.hs index 95458e097c..bd5baf7bbf 100755 --- a/.gitlab/gen_ci.hs +++ b/.gitlab/gen_ci.hs @@ -141,6 +141,7 @@ data BuildConfig , tablesNextToCode :: Bool , threadSanitiser :: Bool , noSplitSections :: Bool + , testsuiteUsePerf :: Bool } -- Extra arguments to pass to ./configure due to the BuildConfig @@ -188,6 +189,7 @@ vanilla = BuildConfig , tablesNextToCode = True , threadSanitiser = False , noSplitSections = False + , testsuiteUsePerf = False } splitSectionsBroken :: BuildConfig -> BuildConfig @@ -663,6 +665,7 @@ job arch opsys buildConfig = NamedJob { name = jobName, jobInfo = Job {..} } Emulator s -> "CROSS_EMULATOR" =: s NoEmulatorNeeded -> mempty , if withNuma buildConfig then "ENABLE_NUMA" =: "1" else mempty + , if testsuiteUsePerf buildConfig then "RUNTEST_ARGS" =: "--config perf_path=perf" else mempty ] jobArtifacts = Artifacts diff --git a/testsuite/tests/perf/compiler/all.T b/testsuite/tests/perf/compiler/all.T index 00a5abe8dd..eea4a34e6b 100644 --- a/testsuite/tests/perf/compiler/all.T +++ b/testsuite/tests/perf/compiler/all.T @@ -5,6 +5,7 @@ setTestOpts(no_lint) test('T1969', [# expect_broken(12437), collect_compiler_residency(20), + collect_compiler_perf_counters(['instructions']), extra_run_opts('+RTS -A64k -RTS'), # The default RESIDENCY_OPTS is 256k and we need higher sampling # frequency. Incurs a slow-down by about 2. |