https://github.com/kazu-yamamoto/parser-benchmark
A tiny benchmark for parsers of Haskell
https://github.com/kazu-yamamoto/parser-benchmark
Last synced: 4 months ago
JSON representation
A tiny benchmark for parsers of Haskell
- Host: GitHub
- URL: https://github.com/kazu-yamamoto/parser-benchmark
- Owner: kazu-yamamoto
- Created: 2011-02-10T03:44:33.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-02-10T03:44:58.000Z (over 14 years ago)
- Last Synced: 2024-12-27T07:12:59.349Z (6 months ago)
- Language: Haskell
- Homepage:
- Size: 89.8 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
A tiny benchmark for parsers of Haskell
Kazu YamamotoThis benchmark compares String, Lazy ByteString, and Lazy Text of
Parsec3. Support of Lazy Text for Lazy Text is found:https://github.com/kazu-yamamoto/parsec3/commit/58c268c37e54a470c841c3ef5ecb7722f625552e
This benchmark parses /usr/share/dict/words and extracts the string
"tre". You need to prepare /usr/share/dict/words by yourself.% head -n 10000 /usr/share/dict/words > input
Then execute, the benchmark:
% sh bench.sh
After execution, you can find "plot.png".