ghcide-bench 0.1 → 0.1.1
raw patch · 3 files changed
+8/−5 lines, 3 files
Files
- exe/Main.hs +1/−1
- ghcide-bench.cabal +6/−3
- src/Experiments.hs +1/−1
exe/Main.hs view
@@ -20,7 +20,7 @@ number of iterations. There is ample room for improvement: - Statistical analysis to detect outliers and auto infer the number of iterations needed - GC stats analysis (currently -S is printed as part of the experiment)- - Analyisis of performance over the commit history of the project+ - Analysis of performance over the commit history of the project How to run: 1. `cabal exec cabal run ghcide-bench -- -- ghcide-bench-options`
ghcide-bench.cabal view
@@ -2,7 +2,7 @@ build-type: Simple category: Development name: ghcide-bench-version: 0.1+version: 0.1.1 license: Apache-2.0 license-file: LICENSE author: The Haskell IDE team@@ -12,8 +12,12 @@ description: An LSP client for running performance experiments on HLS homepage: https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme bug-reports: https://github.com/haskell/haskell-language-server/issues-tested-with: GHC == 8.6.5 || == 8.8.4 || == 8.10.7 || == 9.0.2 || == 9.2.3 || == 9.2.4+tested-with: GHC == 8.10.7 || == 9.0.2 || == 9.2.5 +source-repository head+ type: git+ location: https://github.com/haskell/haskell-language-server.git+ executable ghcide-bench default-language: Haskell2010 build-depends:@@ -133,4 +137,3 @@ TupleSections TypeApplications ViewPatterns-
src/Experiments.hs view
@@ -538,7 +538,7 @@ output (showDuration t) -- Wait for the delayed actions to finish td <- waitForBuildQueue- loop' (timeForFirstResponse <|> (Just (t,td))) (userWaits+t) (delayedWork+td) (n -1)+ loop' (timeForFirstResponse <|> Just (t,td)) (userWaits+t) (delayedWork+td) (n -1) loop = loop' Nothing (runExperiment, result) <- duration $ loop 0 0 samples