Skip to content

Commit 8a1139c

Browse files
committed
Replace hp2pretty with eventlog2html in benchmark dependencies and heap profile rules
1 parent 1723762 commit 8a1139c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

haskell-language-server.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2100,7 +2100,7 @@ benchmark benchmark
21002100
hs-source-dirs: bench
21012101
build-tool-depends:
21022102
haskell-language-server:ghcide-bench,
2103-
hp2pretty:hp2pretty,
2103+
eventlog2html:eventlog2html,
21042104
default-extensions:
21052105
LambdaCase
21062106
RecordWildCards

shake-bench/src/Development/Benchmark/Rules.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ heapProfileRules build = do
535535
build -/- "*/*/*/*/*.heap.svg" %> \out -> do
536536
let hpFile = dropExtension2 out <.> "hp"
537537
need [hpFile]
538-
cmd_ ("hp2pretty" :: String) [hpFile]
538+
cmd_ ("eventlog2html" :: String) ["--heap-profile", hpFile]
539539
liftIO $ renameFile (dropExtension hpFile <.> "svg") out
540540

541541
dropExtension2 :: FilePath -> FilePath

0 commit comments

Comments
 (0)