mirror of
https://github.com/composewell/streamly.git
synced 2024-08-16 15:00:25 +03:00
Rename Data.Parser.ParserK benchmark to Data.ParserK (#2457)
This commit is contained in:
parent
f763943923
commit
f5f25b43b6
2
.github/workflows/regression-check.yml
vendored
2
.github/workflows/regression-check.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
||||
Data.Fold
|
||||
Data.Fold.Window
|
||||
Data.Parser
|
||||
Data.Parser.ParserK
|
||||
Data.ParserK
|
||||
Data.Stream.StreamD
|
||||
Data.Stream.StreamK:6
|
||||
Data.Unfold
|
||||
|
@ -313,7 +313,7 @@ monad16 value =
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
moduleName :: String
|
||||
moduleName = "Data.Parser.ParserK"
|
||||
moduleName = "Data.ParserK"
|
||||
|
||||
instance NFData ParseError where
|
||||
{-# INLINE rnf #-}
|
@ -98,7 +98,7 @@ rtsOpts exeName benchName0 = unwords [general, exeSpecific, benchSpecific]
|
||||
`isPrefixOf` benchName = "-K4M -M512M"
|
||||
-- XXX Takes up to 160MB heap for --long, we use chunked stream for
|
||||
-- this, so the reason may be related to chunked streams.
|
||||
| "Data.Parser.ParserK/o-1-space"
|
||||
| "Data.ParserK/o-1-space"
|
||||
`isPrefixOf` benchName = "-K4M -M256M"
|
||||
|
||||
-----------------------------------------------------------------------
|
||||
|
@ -403,10 +403,10 @@ benchmark Data.Parser
|
||||
else
|
||||
ghc-options: +RTS -M2000M -RTS
|
||||
|
||||
benchmark Data.Parser.ParserK
|
||||
benchmark Data.ParserK
|
||||
import: bench-options
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: Streamly/Benchmark/Data/Parser
|
||||
hs-source-dirs: Streamly/Benchmark/Data
|
||||
main-is: ParserK.hs
|
||||
if impl(ghcjs)
|
||||
buildable: False
|
||||
@ -418,10 +418,10 @@ benchmark Data.Parser.ParserK
|
||||
-- the rewrite rules are disabled. We can also use the "no-fusion" build
|
||||
-- flag but we need to keep in mind that it disables fusion for streams
|
||||
-- as well.
|
||||
benchmark Data.Parser.FromParserK
|
||||
benchmark Data.FromParserK
|
||||
import: bench-options
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: Streamly/Benchmark/Data/Parser
|
||||
hs-source-dirs: Streamly/Benchmark/Data
|
||||
cpp-options: -DFROM_PARSERK
|
||||
main-is: ParserK.hs
|
||||
if flag(use-streamly-core) || impl(ghcjs)
|
||||
|
6
hie.yaml
6
hie.yaml
@ -28,10 +28,8 @@ cradle:
|
||||
component: "bench:Data.Fold"
|
||||
- path: "./benchmark/Streamly/Benchmark/Data/Parser.hs"
|
||||
component: "bench:Data.Parser"
|
||||
- path: "./benchmark/Streamly/Benchmark/Data/Parser/ParserD.hs"
|
||||
component: "bench:Data.Parser.ParserD"
|
||||
- path: "./benchmark/Streamly/Benchmark/Data/Parser/ParserK.hs"
|
||||
component: "bench:Data.Parser.ParserK"
|
||||
- path: "./benchmark/Streamly/Benchmark/Data/ParserK.hs"
|
||||
component: "bench:Data.ParserK"
|
||||
- path: "./benchmark/Streamly/Benchmark/Data/Stream/StreamD.hs"
|
||||
component: "bench:Data.Stream.StreamD"
|
||||
- path: "./benchmark/Streamly/Benchmark/Data/Stream/StreamK.hs"
|
||||
|
@ -72,7 +72,6 @@ extra-source-files:
|
||||
benchmark/Streamly/Benchmark/Data/Array/Mut.hs
|
||||
benchmark/Streamly/Benchmark/Data/Array/Stream.hs
|
||||
benchmark/Streamly/Benchmark/Data/Fold/Window.hs
|
||||
benchmark/Streamly/Benchmark/Data/Parser/*.hs
|
||||
benchmark/Streamly/Benchmark/Data/Stream/*.hs
|
||||
benchmark/Streamly/Benchmark/FileSystem/*.hs
|
||||
benchmark/Streamly/Benchmark/FileSystem/Handle/*.hs
|
||||
|
@ -176,7 +176,7 @@ targets =
|
||||
, ("Data.Ring.Unboxed", [])
|
||||
|
||||
-- Parsers
|
||||
, ("Data.Parser.ParserK",
|
||||
, ("Data.ParserK",
|
||||
[ "base_parser_grp"
|
||||
, "base_parser_cmp"
|
||||
, "infinite_grp"
|
||||
|
Loading…
Reference in New Issue
Block a user