on master help sign in
Keep main/other modules together
5c05734Harendra Kumar
streamly.cabal+5−9
@@ -557,11 +557,10 @@ test-suite parallel-loops
557
557
558benchmark linear
558benchmark linear
559 import: bench-options
559 import: bench-options
560− other-modules: Streamly.Benchmark.Prelude
561 type: exitcode-stdio-1.0
560 type: exitcode-stdio-1.0
562 hs-source-dirs: benchmark
561 hs-source-dirs: benchmark
563 main-is: Linear.hs
562 main-is: Linear.hs
564− buildable: True
563+ other-modules: Streamly.Benchmark.Prelude
565 build-depends:
564 build-depends:
566 streamly
565 streamly
567 , base >= 4.8 && < 5
566 , base >= 4.8 && < 5
@@ -577,12 +576,11 @@ benchmark linear
577
576
578benchmark linear-async
577benchmark linear-async
579 import: bench-options
578 import: bench-options
580− other-modules: Streamly.Benchmark.Prelude
581 cpp-options: -DLINEAR_ASYNC
579 cpp-options: -DLINEAR_ASYNC
582 type: exitcode-stdio-1.0
580 type: exitcode-stdio-1.0
583 hs-source-dirs: benchmark
581 hs-source-dirs: benchmark
584 main-is: LinearAsync.hs
582 main-is: LinearAsync.hs
585− buildable: True
583+ other-modules: Streamly.Benchmark.Prelude
586 build-depends:
584 build-depends:
587 streamly
585 streamly
588 , base >= 4.8 && < 5
586 , base >= 4.8 && < 5
@@ -598,11 +596,10 @@ benchmark linear-async
598
596
599benchmark linear-rate
597benchmark linear-rate
600 import: bench-options
598 import: bench-options
601− other-modules: Streamly.Benchmark.Prelude
602 type: exitcode-stdio-1.0
599 type: exitcode-stdio-1.0
603 hs-source-dirs: benchmark
600 hs-source-dirs: benchmark
604 main-is: LinearRate.hs
601 main-is: LinearRate.hs
605− buildable: True
602+ other-modules: Streamly.Benchmark.Prelude
606 build-depends:
603 build-depends:
607 streamly
604 streamly
608 , base >= 4.8 && < 5
605 , base >= 4.8 && < 5
@@ -698,15 +695,14 @@ benchmark array
698
695
699benchmark fileio
696benchmark fileio
700 import: bench-options
697 import: bench-options
701− other-modules: Streamly.Benchmark.FileIO.Array
702− , Streamly.Benchmark.FileIO.Stream
703 type: exitcode-stdio-1.0
698 type: exitcode-stdio-1.0
704 -- A value of 400 works better for some benchmarks, however, it takes
699 -- A value of 400 works better for some benchmarks, however, it takes
705 -- extraordinary amount of time to compile with that.
700 -- extraordinary amount of time to compile with that.
706 -- ghc-options: -funfolding-use-threshold=150
701 -- ghc-options: -funfolding-use-threshold=150
707 hs-source-dirs: benchmark
702 hs-source-dirs: benchmark
708 main-is: FileIO.hs
703 main-is: FileIO.hs
709− buildable: True
704+ other-modules: Streamly.Benchmark.FileIO.Array
705+ , Streamly.Benchmark.FileIO.Stream
710 build-depends:
706 build-depends:
711 streamly
707 streamly
712 , base >= 4.8 && < 5
708 , base >= 4.8 && < 5