Skip to content

Commit bbf8f54

Browse files
authored
Merge pull request #110 from xorJane/patch-1
Fixed minor typo in manual
2 parents 3096fdb + ba08895 commit bbf8f54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/manual.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Before we get too far, let's define some of the terminology used in this documen
4141
- "trial": an experiment in which multiple samples are gathered (or the result of such an experiment).
4242
- "benchmark parameters": the configuration settings that determine how a benchmark trial is performed
4343

44-
The reasoning behind our definition of "sample" may not be obvious to all readers. If the time to execute a benchmark is smaller than the resolution of your timing method, than a single evaluation of the benchmark will generally not produce a valid sample. In that case, one must approximate a valid sample by
44+
The reasoning behind our definition of "sample" may not be obvious to all readers. If the time to execute a benchmark is smaller than the resolution of your timing method, then a single evaluation of the benchmark will generally not produce a valid sample. In that case, one must approximate a valid sample by
4545
recording the total time `t` it takes to record `n` evaluations, and estimating the sample's time per evaluation as `t/n`. For example, if a sample takes 1 second for 1 million evaluations, the approximate time per evaluation for that sample is 1 microsecond. It's not obvious what the right number of evaluations per sample should be for any given benchmark, so BenchmarkTools provides a mechanism (the `tune!` method) to automatically figure it out for you.
4646

4747
# Benchmarking basics

0 commit comments

Comments
 (0)