Skip to content
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

--raw outputting hex/binary data #37

Open
hashimaziz1 opened this issue Oct 4, 2018 · 1 comment
Open

--raw outputting hex/binary data #37

hashimaziz1 opened this issue Oct 4, 2018 · 1 comment

Comments

@hashimaziz1
Copy link

hashimaziz1 commented Oct 4, 2018

The documentation is schtum about this also, so I'm not sure, but is --raw FILE.txt supposed to output data that appears to be in binary/hex? I took "output raw data" to mean plain text results, as opposed to the HTML of -o. What form is --raw meant to output data in?

@Gabriella439
Copy link
Owner

@Kaos-Industries: bench is a thin wrapper around Haskell's criterion package so it automatically inherits any options defined by the parser provided by that package. In this case the --raw option corresponds to the rawDataFile field of criterion's Config type here:

http://hackage.haskell.org/package/criterion-1.5.1.0/docs/Criterion-Types.html#t:Config

... and the documentation for that says:

File to write binary measurement and analysis data to. If not specified, this will be a temporary file.

So it sounds like it is supposed to be data formatted in binary that is almost an internal implementation detail. I don't know what the use case for that flag is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants