From e720395b617b05e59e1be18011671cd03cb95bb0 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Sun, 9 Mar 2025 15:31:11 -0400 Subject: [PATCH] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 3eb540b..f975855 100644 --- a/README.md +++ b/README.md @@ -508,6 +508,14 @@ in some cases: 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 * The fast_float library is part of the [Conan package