@@ -165,14 +165,15 @@ On each line, the report will contain the time taken by each test.
165
165
Comparison charts in ` svg ` format can be generated by invoking
166
166
167
167
```
168
- cabal v2-run plot-performance -- -b path_to_before_summary.csv -a path_to_after_summary.csv -s 50 -f "benchmark" -o outdir
168
+ cabal v2-run plot-performance -- -b path_to_before_summary.csv -a path_to_after_summary.csv -s 50 -f "benchmark"
169
169
```
170
170
171
171
This will generate three files ` filtered.svg ` (a subset of tests with a ` benchmark ` prefix, enabled by the ` -f ` option),
172
- ` top.svg ` and ` bot.svg ` (top 50 speedups and slowdowns over the entire test set, both enabled by the ` -s ` option) under
173
- the ` outdir ` directory. The ` -f ` and ` -s ` options can be used/omitted independently. If both are omitted, a single
174
- ` perf.svg ` will be produced covering the full input test set. Additionally, their effects can be combined by providing
175
- a third ` -c ` option (this will produce 2 files ` filtered-top.svg ` and ` filtered-bot.svg ` instead of 3).
172
+ ` top.svg ` and ` bot.svg ` (top 50 speedups and slowdowns over the entire test set, both enabled by the ` -s ` option) in the
173
+ current directory. The ` -f ` and ` -s ` options can be used/omitted independently. If both are omitted, a single ` perf.svg `
174
+ will be produced covering the full input test set. Additionally, their effects can be combined by providing a third ` -c `
175
+ option (this will produce 2 files ` filtered-top.svg ` and ` filtered-bot.svg ` instead of 3). An optional key ` -o ` can be
176
+ supplied to specify an output directory for the generated files.
176
177
177
178
There is also a legacy script ` scripts/plot-performance/chart_perf.sh ` that can be used to generate comparison charts
178
179
in both ` svg ` and ` png ` formats. It requires [ gnuplot] ( http://www.gnuplot.info/ ) to run and assumes both files contain
@@ -357,14 +358,14 @@ using**.
357
358
[ BareSpec ] : liquidhaskell-boot/src/Language/Haskell/Liquid/Types/Specs.hs#L362
358
359
[ LiftedSpec ] : liquidhaskell-boot/src/Language/Haskell/Liquid/Types/Specs.hs#L559
359
360
[ TargetSrc ] : liquidhaskell-boot/src/Language/Haskell/Liquid/Types/Specs.hs#L158
360
- [ Ghc monad ] : https://hackage.haskell.org/package/ghc-9.2.5 /docs/GHC.html#t:Ghc
361
- [ HscEnv ] : https://hackage.haskell.org/package/ghc-9.2.5 /docs/GHC.html#t:HscEnv
362
- [ DynFlags ] : https://hackage.haskell.org/package/ghc-9.2.5 /docs/GHC.html#t:DynFlags
363
- [ GhcMonad ] : https://hackage.haskell.org/package/ghc-9.2.5 /docs/GHC.html#t:GhcMonad
361
+ [ Ghc monad ] : https://hackage.haskell.org/package/ghc-9.2.8 /docs/GHC.html#t:Ghc
362
+ [ HscEnv ] : https://hackage.haskell.org/package/ghc-9.2.8 /docs/GHC.html#t:HscEnv
363
+ [ DynFlags ] : https://hackage.haskell.org/package/ghc-9.2.8 /docs/GHC.html#t:DynFlags
364
+ [ GhcMonad ] : https://hackage.haskell.org/package/ghc-9.2.8 /docs/GHC.html#t:GhcMonad
364
365
[ typechecking phase ] : liquidhaskell-boot/src/Language/Haskell/Liquid/GHC/Plugin.hs#L211-L226
365
366
[ ghcide ] : https://github.com/haskell/ghcide
366
367
[ findRelevantSpecs ] : liquidhaskell-boot/src/Language/Haskell/Liquid/GHC/Plugin/SpecFinder.hs#L65
367
- [ core binds ] : https://hackage.haskell.org/package/ghc-9.2.5 /docs/CoreSyn .html#t:CoreBind
368
+ [ core binds ] : https://hackage.haskell.org/package/ghc-9.2.8 /docs/GHC-Core .html#t:CoreBind
368
369
[ configureGhcTargets ] : liquidhaskell-boot/src/Language/Haskell/Liquid/GHC/Interface.hs#L254
369
370
[ processTargetModule ] : liquidhaskell-boot/src/Language/Haskell/Liquid/GHC/Interface.hs#L483
370
371
[ processModule ] : liquidhaskell-boot/src/Language/Haskell/Liquid/GHC/Plugin.hs#L509
0 commit comments