-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Write tomland
benchmarks
#98
Comments
What functions/actions/operations to benchmark? Do all other libraries have two step converting? Does tomland has separate function for parsing and for converting? |
|
|
I suppose we should have some TOML example file with multiple fields:
I would like to have different types of TOML values, so we can put inside tables 1 and 2 something different. For example, if you put ZonedTIme on top-level
Not sure. But for those, who don't have, we need to write conversion manually by our own just for this library.
But it doesn't have separate function only for conversion. Probably it's a good idea to have one. So I I see the following steps to work on this issue:
I think that for every task you can create separate issue to make amount of work per issue smaller. |
|
We're interested only in bechmarks for parsing (mostly because other Haskell TOML libraries don't have pretty-printing abilities) and for converting to Haskell data types (aka 2 phases). See this talk by George Wilson about CSV encoding/decoding library for multiple phases explanation:
I would like to have a comparison with the following libraries:
htoml
htoml-megaparsec
toml-parser
*conflicted in depstoml
*conflicted in depsAlso, I recommend using
gauge
library for the benchmarks.TomlCodec a -> TOML -> Either DecodeException a
#109 Add function with type like TomlCodec a -> TOML -> Either DecodeException aThe text was updated successfully, but these errors were encountered: