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
/*!
A micro-benchmarking crate with memory.
See [usage and example in README](https://github.com/Canop/glassbench#usage).
In a standard setup you'll only use
* the [glassbench!] macro which let you title your bench and add functions defining tasks
* the [Bench] struct, as argument of your global bench function, with its [Bench::task] function to define a task
* the [TaskBench] struct that you receive as argument when defining a task. You'll call
[TaskBench::iter] with the callback to benchmark
* [pretend_used] as an opaque sinkhole, which can receive the values you produce in your tests and
prevent the optimizer to remove their construction
*/
pub use ;