Skip to content

Commit e14981e

Browse files
committed
docs: add benchmarking best practices
1 parent 76a4fc6 commit e14981e

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
@@ -157,6 +157,8 @@ Benchmark
157157
------------
158158
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.
159159
160+
For reliable benchmarks, it is strongly recommended to pin the process to a single CPU core and to disable CPU frequency scaling.
161+
160162
To print the benchmark result to the command line:
161163
162164
$ ./bench_name

0 commit comments

Comments
 (0)