Skip to content

Commit cce0147

Browse files
committed
docs: add benchmarking best practices
1 parent ce6d39c commit cce0147

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ Benchmark
159159
------------
160160
If configured with `--enable-benchmark` (which is the default), binaries for benchmarking the libsecp256k1 functions will be present in the root directory after the build.
161161
162+
For reliable benchmarks, it is strongly recommended to pin the process to a single CPU core and to disable CPU frequency scaling.
163+
162164
To print the benchmark result to the command line:
163165
164166
$ ./bench_name

0 commit comments

Comments
 (0)