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
/*! 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 */ mod black_box; mod bench; mod command; mod db; mod error; mod git_info; mod history_graph; mod history_tbl; mod html_viewer; mod main_macro; mod printer; mod report; mod skin; mod task_bench; mod task_bench_diff; mod task_history; mod task_measure; pub use { db::*, bench::*, black_box::*, command::*, error::*, git_info::*, history_graph::*, history_tbl::*, html_viewer::*, main_macro::*, printer::*, report::*, task_bench::*, task_bench_diff::*, task_history::*, task_measure::*, };