diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 739e80c1ac..d54b89b897 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -127,6 +127,13 @@ jobs: ghcide/bench-results/results.* ghcide/bench-results/**/*.csv ghcide/bench-results/**/*.svg - ghcide/bench-results/**/*.eventlog ghcide/bench-results/**/*.eventlog.html + + - name: Archive benchmark logs + uses: actions/upload-artifact@v2 + with: + name: bench-logs-${{ runner.os }}-${{ matrix.ghc }} + path: | + ghcide/bench-results/**/*.log + ghcide/bench-results/**/*.eventlog ghcide/bench-results/**/*.hp diff --git a/ghcide/bench/config.yaml b/ghcide/bench/config.yaml index b5e06138f4..705599bb9a 100644 --- a/ghcide/bench/config.yaml +++ b/ghcide/bench/config.yaml @@ -24,15 +24,14 @@ examples: - src/Language/LSP/VFS.hs - src/Language/LSP/Types/Lens.hs # Small but heavily multi-component example - # Disabled as it is far to slow. hie-bios >0.7.2 should help - # - path: bench/example/HLS - # modules: - # - hls-plugin-api/src/Ide/Plugin/Config.hs - # - ghcide/src/Development/IDE/Plugin/CodeAction/ExactPrint.hs - # - ghcide/bench/hist/Main.hs - # - ghcide/bench/lib/Experiments/Types.hs - # - ghcide/test/exe/Main.hs - # - exe/Plugins.hs + - path: bench/example/HLS + modules: + - hls-plugin-api/src/Ide/Plugin/Config.hs + - ghcide/src/Development/IDE/Plugin/CodeAction/ExactPrint.hs + - ghcide/bench/hist/Main.hs + - ghcide/bench/lib/Experiments/Types.hs + - ghcide/test/exe/Main.hs + - exe/Plugins.hs # The set of experiments to execute experiments: