From c31d7d4bb7e9d520bdb6272bdfbc192231a965eb Mon Sep 17 00:00:00 2001 From: Pepe Iborra Date: Sat, 30 Jul 2022 17:03:48 +0200 Subject: [PATCH 1/5] Run the benchmark suite in GHC 9.0.2 and 9.2.3 --- .github/workflows/bench.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 52959d946c..d0668d5756 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -46,7 +46,7 @@ jobs: strategy: fail-fast: false matrix: - ghc: ['8.10.7'] + ghc: ['8.10.7','9.0.2', '9.2.3'] os: [ubuntu-latest] # This code is fitted to the strategy: assumes Linux is used ... etc, From 7aea48b1e770b67d3dee2f6b521ab15b079ec4a0 Mon Sep 17 00:00:00 2001 From: Pepe Iborra Date: Sat, 30 Jul 2022 17:25:05 +0200 Subject: [PATCH 2/5] Benchmark Cabal 3.6.3.0 Cabal 3.0.0.0 doesn't build with GHC 9.2.x --- ghcide/bench/config.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ghcide/bench/config.yaml b/ghcide/bench/config.yaml index 5071a37141..446ca9d931 100644 --- a/ghcide/bench/config.yaml +++ b/ghcide/bench/config.yaml @@ -14,22 +14,22 @@ examples: # Medium-sized project without TH - name: cabal package: Cabal - version: 3.0.0.0 + version: 3.6.3.0 modules: - - Distribution/Simple.hs - - Distribution/Types/Module.hs + - src/Distribution/Simple.hs + - src/Distribution/Types/Module.hs extra-args: [] # extra ghcide command line args - name: cabal-1module package: Cabal - version: 3.0.0.0 + version: 3.6.3.0 modules: - - Distribution/Simple.hs + - src/Distribution/Simple.hs - name: cabal-conservative package: Cabal - version: 3.0.0.0 + version: 3.6.3.0 modules: - - Distribution/Simple.hs - - Distribution/Types/Module.hs + - src/Distribution/Simple.hs + - src/Distribution/Types/Module.hs extra-args: # extra ghcide command line args - --conservative-change-tracking # Small-sized project with TH From a30d2f003203b1df88f121e76c39bdbda3937b0e Mon Sep 17 00:00:00 2001 From: Pepe Iborra Date: Sat, 30 Jul 2022 17:50:05 +0200 Subject: [PATCH 3/5] Benchmark lsp-types 1.5.0.0 --- ghcide/bench/config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghcide/bench/config.yaml b/ghcide/bench/config.yaml index 446ca9d931..bcec13dfbe 100644 --- a/ghcide/bench/config.yaml +++ b/ghcide/bench/config.yaml @@ -35,13 +35,13 @@ examples: # Small-sized project with TH - name: lsp-types package: lsp-types - version: 1.0.0.1 + version: 1.5.0.0 modules: - src/Language/LSP/VFS.hs - src/Language/LSP/Types/Lens.hs - name: lsp-types-conservative package: lsp-types - version: 1.0.0.1 + version: 1.5.0.0 modules: - src/Language/LSP/VFS.hs - src/Language/LSP/Types/Lens.hs From 78564f03134e2fdf47a6fa573f31a2d1fe8ad49b Mon Sep 17 00:00:00 2001 From: Pepe Iborra Date: Sun, 31 Jul 2022 11:41:29 +0200 Subject: [PATCH 4/5] drop 9.0.2 --- .github/workflows/bench.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index d0668d5756..c0ba2ee1f1 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -46,7 +46,7 @@ jobs: strategy: fail-fast: false matrix: - ghc: ['8.10.7','9.0.2', '9.2.3'] + ghc: ['8.10.7', '9.2.3'] os: [ubuntu-latest] # This code is fitted to the strategy: assumes Linux is used ... etc, From 370271771dae01e3bf71a6d482e1b5317d31edaa Mon Sep 17 00:00:00 2001 From: Pepe Iborra Date: Sun, 31 Jul 2022 13:29:01 +0200 Subject: [PATCH 5/5] Add 9.2.3 to bench-example matrix --- .github/workflows/bench.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index c0ba2ee1f1..81b31923da 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -103,7 +103,7 @@ jobs: strategy: fail-fast: false matrix: - ghc: ['8.10.7'] + ghc: ['8.10.7', '9.2.3'] os: [ubuntu-latest] cabal: ['3.6'] example: ['cabal', 'lsp-types']