Better documentation for the -H flag. (#651)

This commit is contained in:
Daniel Lemire 2020-03-30 15:44:04 -04:00 committed by GitHub
parent 7656bd50ee
commit 6369cf4dd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -105,7 +105,13 @@ echo always > /sys/kernel/mm/transparent_hugepage/enabled
In general, when running benchmarks over large files, we recommend that you report performance
numbers with and without huge pages if possible. Furthermore, you should amortize the parsing (e.g.,
by parsing several large files) to distinguish the time spent parsing from the time spent allocating
memory.
memory. If you are using the `parse` benchmarking tool provided with the simdjson library, you can
use the `-H` flag to omit the memory allocation cost from the benchmark results.
```
./parse largefile # includes memory allocation cost
./parse -H largefile # without memory allocation
```
Computed GOTOs
--------------