File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,21 @@ generation and reporting.
70
70
Note that results are returned to the user to prevent JIT from recognising that
71
71
the results are not used.
72
72
73
+ ## Measurement Overhead Estimation
74
+
75
+ Criterium will automatically estimate a time for it's measurement
76
+ overhead. The estimate is normally made once per session, and is
77
+ available in the ` criterium.core/extimated-overhead-cache ` var.
78
+
79
+ If the estimation is made while their is a lot of other processing
80
+ going on, then benchmarking quick functions may report small negative
81
+ times. You can force a recalculation of the overhead by calling
82
+ ` criterium.core/estimated-overhead! ` .
83
+
84
+ If you want consistency across JVM processes, it might be prudent to
85
+ explicitly set ` criterium.core/estimated-overhead! ` to a constant
86
+ value.
87
+
73
88
## References
74
89
75
90
[ API Documentation] ( http://hugoduncan.github.com/criterium/0.4/api/ )
You can’t perform that action at this time.
0 commit comments