on master help sign in
Add help text to work with unicode files
commitb4afc1c7ec820ae51324eefa99ecde72b50ae929 authorAdithya Kumar <adithya@composewell.com> dateFri 4 Feb 2022, 05:35 (5 years ago) parent45be6a4
1 file changed+8
benchmark/README.md+8
benchmark/README.md+8
@@ -129,6 +129,14 @@ $ cabal run FileSystem.Handle -- FileSystem.Handle/o-1-space/reduce/read/S.split
129129The automatic tests do not test unicode input, this option is useful to specify
130130a unicode text file manually.
131131
132+## Running benchmarks on valid UTF8 input
133+
134+To run the unicode benchmarks on valid utf8 input, you can do the following,
135+
136+```
137+$ Benchmark_FileSystem_Handle_InputFile=<valid-unicode-filepath> bin/bench.sh --benchmarks Unicode.Stream --cabal-build-options "-f include-strict-utf8"
138+```
139+
132140## Benchmarking notes
133141
134142We run each benchmark in an isolated process to minimize interference