Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noughtmare/parsebench
Benchmarking haskell parsing libraries
https://github.com/noughtmare/parsebench
Last synced: 25 days ago
JSON representation
Benchmarking haskell parsing libraries
- Host: GitHub
- URL: https://github.com/noughtmare/parsebench
- Owner: noughtmare
- License: bsd-3-clause
- Created: 2018-02-04T15:51:33.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-04T15:55:39.000Z (almost 7 years ago)
- Last Synced: 2024-10-14T10:13:01.864Z (2 months ago)
- Language: Haskell
- Size: 2.93 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
# Parser Benchmarks
Objective: parse link and title pairs from the `bench.html` file.
Please open an issue if you know how to improve any of the benchmarks.
Unfortunately I can't add the `bench.html` file to this repo because it is encumbered by copyright.
The `bench.html` is a snapshot of https://tweakers.net/ (a dutch technology website).## uu-parsinglib
```
benchmarking UUParser
time 1.681 ms (1.671 ms .. 1.695 ms)
0.999 R² (0.999 R² .. 1.000 R²)
mean 1.648 ms (1.639 ms .. 1.659 ms)
std dev 32.00 μs (24.70 μs .. 45.86 μs)
```## attoparsec
```
benchmarking AttoParser
time 620.9 μs (612.9 μs .. 630.2 μs)
0.999 R² (0.999 R² .. 1.000 R²)
mean 607.5 μs (603.6 μs .. 612.3 μs)
std dev 15.01 μs (11.28 μs .. 18.79 μs)
```