Update README.md

This commit is contained in:
Daniel Lemire 2025-03-09 15:31:11 -04:00 committed by GitHub
parent 8e5e92b6e2
commit e720395b61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -508,6 +508,14 @@ in some cases:
sudo ./build/benchmarks/realbenchmark sudo ./build/benchmarks/realbenchmark
``` ```
If you have a text file containing one number per line (`myfile.txt`), you can run a benchmark over it like so:
```
cmake -B build -D FASTFLOAT_BENCHMARKS=ON
cmake --build build
./build/benchmarks/realbenchmark myfile.txt
```
## Packages ## Packages
* The fast_float library is part of the [Conan package * The fast_float library is part of the [Conan package