Skip to content

Commit e720395

Browse files
authored
Update README.md
1 parent 8e5e92b commit e720395

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,14 @@ in some cases:
508508
sudo ./build/benchmarks/realbenchmark
509509
```
510510

511+
If you have a text file containing one number per line (`myfile.txt`), you can run a benchmark over it like so:
512+
```
513+
cmake -B build -D FASTFLOAT_BENCHMARKS=ON
514+
cmake --build build
515+
./build/benchmarks/realbenchmark myfile.txt
516+
```
517+
518+
511519
## Packages
512520

513521
* The fast_float library is part of the [Conan package

0 commit comments

Comments
 (0)