Skip to content

Commit 9b8ccd6

Browse files
committed
sim-benchmarks: use threaded RTS
When using non-threaded RTS, an eventlog file can be corrupted, and thus unparsable by other tools, like `eventlog2html`.
1 parent 926b3a0 commit 9b8ccd6

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

ouroboros-network/ouroboros-network.cabal

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -509,15 +509,16 @@ benchmark sim-benchmarks
509509
ouroboros-network:testlib,
510510
tasty-bench >=0.3.5,
511511

512+
-- We use `-fproc-alignemtn` option to avoid skewed results due to changes in cache-line
513+
-- alignment. See https://github.com/Bodigrim/tasty-bench#comparison-against-baseline
514+
-- We use threaded RTS, because of
515+
-- https://gitlab.haskell.org/ghc/ghc/-/issues/25165
512516
ghc-options:
513517
-fno-ignore-asserts
518+
-threaded
519+
-rtsopts
514520
-with-rtsopts=-A32m
521+
-fproc-alignment=64
515522
+RTS
516523
-T
517524
-RTS
518-
519-
-- We use this option to avoid skewed results due to changes in cache-line
520-
-- alignment. See
521-
-- https://github.com/Bodigrim/tasty-bench#comparison-against-baseline
522-
if impl(ghc >=8.6)
523-
ghc-options: -fproc-alignment=64

0 commit comments

Comments
 (0)