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
46
47
48
49
50
51
52
53
54
55
56
57
58
# 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.
= [
# gpu::BruteForce
{r = 255, g = 0, b = 0},
# parallel::BarnesHut::0.2
{r = 0, g = 204, b = 0},
# parallel::BarnesHut::0.8
{r = 184, g = 204, b = 0},
# parallel::BruteForce
{r = 0, g = 128, b = 255},
# parallel::BruteForceSIMD
{r = 255, g = 100, b = 0},
# sequential::BarnesHut::0.2
{r = 0, g = 142, b = 0},
# sequential::BarnesHut::0.8
{r = 128, g = 142, b = 0},
# sequential::BruteForcePairs
{r = 0, g = 76, b = 153},
# sequential::BruteForceSIMD
{r = 153, g = 60, b = 0},
]