about summary refs log tree commit diff
path: root/src/doc/guide-testing.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc/guide-testing.md')
-rw-r--r--src/doc/guide-testing.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/doc/guide-testing.md b/src/doc/guide-testing.md
index 682c89fcc53..60ce71dac84 100644
--- a/src/doc/guide-testing.md
+++ b/src/doc/guide-testing.md
@@ -503,6 +503,8 @@ Advice on writing benchmarks:
 * Make the code in the `iter` loop do something simple, to assist in pinpointing
   performance improvements (or regressions)
 
+## Gotcha: optimizations
+
 There's another tricky part to writing benchmarks: benchmarks compiled with
 optimizations activated can be dramatically changed by the optimizer so that
 the benchmark is no longer benchmarking what one expects. For example, the