Skip to content

Commit 5f8b7f2

Browse files
pauljurczakvchuravytpapp
authored
Added a tip (#172)
* Added a tip See https://discourse.julialang.org/t/baffled-and-perplexed-as-the-title-has-to-be-at-least-10-characters/43291 Co-authored-by: Valentin Churavy <[email protected]> Co-authored-by: Tamas K. Papp <[email protected]>
1 parent 70d083e commit 5f8b7f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/manual.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -933,3 +933,4 @@ Caching parameters in this manner leads to a far shorter turnaround time, and mo
933933
- If you use `rand` or something similar to generate the values that are used in your benchmarks, you should seed the RNG (or provide a seeded RNG) so that the values are consistent between trials/samples/evaluations.
934934
- BenchmarkTools attempts to be robust against machine noise occurring between *samples*, but BenchmarkTools can't do very much about machine noise occurring between *trials*. To cut down on the latter kind of noise, it is advised that you dedicate CPUs and memory to the benchmarking Julia process by using a shielding tool such as [cset](http://manpages.ubuntu.com/manpages/precise/man1/cset.1.html).
935935
- On some machines, for some versions of BLAS and Julia, the number of BLAS worker threads can exceed the number of available cores. This can occasionally result in scheduling issues and inconsistent performance for BLAS-heavy benchmarks. To fix this issue, you can use `BLAS.set_num_threads(i::Int)` in the Julia REPL to ensure that the number of BLAS threads is equal to or less than the number of available cores.
936+
- `@benchmark` is evaluated in global scope, even if called from local scope.

0 commit comments

Comments
 (0)