1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# This is used to override the directory where cargo-criterion saves
# its data and generates reports.
= "./target/criterion"
# This is used to configure the format of cargo-criterion's command-line output.
# Options are:
# criterion: Prints confidence intervals for measurement and throughput, and
# indicates whether a change was detected from the previous run. The default.
# quiet: Like criterion, but does not indicate changes. Useful for simply
# presenting output numbers, eg. on a library's README.
# verbose: Like criterion, but prints additional statistics.
# bencher: Emulates the output format of the bencher crate and nightly-only
# libtest benchmarks.
= "criterion"
# This is used to configure the plotting backend used by cargo-criterion.
# Options are "gnuplot" and "plotters", or "auto", which will use gnuplot if it's
# available or plotters if it isn't.
= "auto"
# The colors table allows users to configure the colors used by the charts
# cargo-criterion generates.
[]
# These are used in many charts to compare the current measurement against
# the previous one.
= { = 31, = 120, = 180}
= { = 7, = 26, = 28}
# These are used by the full PDF chart to highlight which samples were outliers.
= { = 31, = 120, = 180}
= { = 5, = 127, = 0}
= { = 7, = 26, = 28}
# These are used for the line chart to compare multiple different functions.
= [
{ = 8, = 34, = 34},
{ = 6, = 139, = 87},
{ = 0, = 139, = 139},
{ = 5, = 215, = 0},
{ = 0, = 0, = 139},
{ = 0, = 20, = 60},
{ = 9, = 0, = 139},
{ = 0, = 255, = 127},
]