Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juhp/hs-processes-bench
https://github.com/juhp/hs-processes-bench
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/juhp/hs-processes-bench
- Owner: juhp
- License: bsd-3-clause
- Created: 2020-08-27T10:22:44.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-27T10:23:37.000Z (over 4 years ago)
- Last Synced: 2024-10-31T14:06:09.162Z (3 months ago)
- Language: Haskell
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hs-processes-bench
A simple benchmark comparing
the Haskell [process](https://hackage.haskell.org/package/process) and
[typed-process](https://hackage.haskell.org/package/typed-process) libraries.TL;DR: typed-process is more sophisticated and has more overhead.
Typically about 5-6 times slower as of the ghc8 timeframe.`process` is good for simple process io using `String`s with low overhead and predictable performance.
`typed-process` strength is correctly handling complicated io process streams (uses `ByteString`s, async, and stm).
More sophisticated benchmarks can probably be thought up.