on master help sign in
Add help text to work with unicode files
b4afc1cAdithya Kumar
benchmark/README.md+8
@@ -129,6 +129,14 @@ $ cabal run FileSystem.Handle -- FileSystem.Handle/o-1-space/reduce/read/S.split
129The automatic tests do not test unicode input, this option is useful to specify
129The automatic tests do not test unicode input, this option is useful to specify
130a unicode text file manually.
130a unicode text file manually.
131
131
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+
132## Benchmarking notes
140## Benchmarking notes
133
141
134We run each benchmark in an isolated process to minimize interference
142We run each benchmark in an isolated process to minimize interference