Home
last modified time | relevance | path

Searched refs:BenchmarkId (Results 1 – 25 of 27) sorted by relevance

12

/external/rust/crates/criterion/src/
Dreport.rs62 pub struct BenchmarkId { struct
108 impl BenchmarkId { impl
114 ) -> BenchmarkId { in new() argument
148 BenchmarkId { in new()
225 impl fmt::Display for BenchmarkId { implementation
230 impl fmt::Debug for BenchmarkId { implementation
255 pub fn report_path<P: AsRef<Path> + ?Sized>(&self, id: &BenchmarkId, file_name: &P) -> PathBuf { in report_path() argument
265 fn test_start(&self, _id: &BenchmarkId, _context: &ReportContext) {} in test_start() argument
266 fn test_pass(&self, _id: &BenchmarkId, _context: &ReportContext) {} in test_pass() argument
268 fn benchmark_start(&self, _id: &BenchmarkId, _context: &ReportContext) {} in benchmark_start() argument
[all …]
Dbenchmark_group.rs5 use crate::report::BenchmarkId as InternalBenchmarkId;
273 fn run_bench<F, I>(&mut self, id: BenchmarkId, input: &I, f: F) in run_bench() argument
403 pub struct BenchmarkId { struct
407 impl BenchmarkId { argument
440 ) -> BenchmarkId { in new() argument
441 BenchmarkId { in new()
449 pub fn from_parameter<P: ::std::fmt::Display>(parameter: P) -> BenchmarkId { in from_parameter() argument
450 BenchmarkId { in from_parameter()
456 pub(crate) fn no_function() -> BenchmarkId { in no_function()
457 BenchmarkId { in no_function()
[all …]
Dcsv_report.rs3 use crate::report::{BenchmarkId, MeasurementData, Report, ReportContext};
27 id: &BenchmarkId, in write_data() argument
65 id: &BenchmarkId, in write_file() argument
79 id: &BenchmarkId, in measurement_complete() argument
Dfs.rs10 use crate::report::BenchmarkId;
88 pub fn list_existing_benchmarks<P>(directory: &P) -> Result<Vec<BenchmarkId>> in list_existing_benchmarks()
107 let id: BenchmarkId = load(entry.path())?; in list_existing_benchmarks()
Droutine.rs4 use crate::report::{BenchmarkId, Report, ReportContext};
29 id: &BenchmarkId, in profile() argument
85 id: &BenchmarkId, in sample() argument
Dbenchmark.rs6 use crate::report::{BenchmarkId, Report, ReportContext};
341 let mut id = BenchmarkId::new( in run()
511 let mut id = BenchmarkId::new( in run()
561 id: &BenchmarkId, in execute_benchmark() argument
/external/rust/crates/criterion/src/plot/
Dmod.rs9 use crate::report::{BenchmarkId, ComparisonData, MeasurementData, ReportContext, ValueType};
24 pub(crate) id: &'a BenchmarkId,
89 all_curves: &[&(&BenchmarkId, Vec<f64>)], in line_comparison() argument
97 all_curves: &[&(&BenchmarkId, Vec<f64>)], in violin() argument
/external/rust/crates/criterion/src/html/
Dmod.rs1 use crate::report::{make_filename_safe, BenchmarkId, MeasurementData, Report, ReportContext};
63 id: &BenchmarkId, in from_id() argument
168 fn individual(output_directory: &Path, id: &'a BenchmarkId) -> ReportLink<'a> { in individual()
193 fn new(output_directory: &Path, ids: &[&'a BenchmarkId]) -> BenchmarkGroup<'a> { in new()
298 id: &BenchmarkId, in measurement_complete() argument
406 all_ids: &[BenchmarkId], in summarize() argument
463 BenchmarkId::new(group_id.clone(), Some(function_id.clone()), None, None); in summarize()
484 BenchmarkId::new(group_id.clone(), None, Some(value_str.clone()), None); in summarize()
522 &BenchmarkId::new(group_id, None, None, None), in summarize()
541 let mut id_groups: HashMap<&str, Vec<&BenchmarkId>> = HashMap::new(); in final_summary()
[all …]
/external/rust/crates/criterion/benches/benchmarks/
Dcompare_functions.rs3 use criterion::{criterion_group, BenchmarkId, Criterion, Fun, ParameterizedBenchmark};
51 group.bench_with_input(BenchmarkId::new("Recursive", i), &i, |b, i| { in compare_fibonaccis_group()
54 group.bench_with_input(BenchmarkId::new("Iterative", i), &i, |b, i| { in compare_fibonaccis_group()
Dwith_inputs.rs3 use criterion::{criterion_group, BenchmarkId, Criterion, Throughput};
11 group.bench_with_input(BenchmarkId::from_parameter(size), size, |b, &size| { in from_elem()
/external/rust/crates/criterion/src/plot/gnuplot_backend/
Diteration_times.rs6 use crate::report::{BenchmarkId, ComparisonData, MeasurementData, ReportContext};
47 id: &BenchmarkId, in iteration_times() argument
67 id: &BenchmarkId, in iteration_times_small() argument
144 id: &BenchmarkId, in iteration_times_comparison() argument
160 id: &BenchmarkId, in iteration_times_comparison_small() argument
Dregression.rs7 use crate::report::{BenchmarkId, ComparisonData, MeasurementData, ReportContext};
97 id: &BenchmarkId, in regression() argument
117 id: &BenchmarkId, in regression_small() argument
246 id: &BenchmarkId, in regression_comparison() argument
264 id: &BenchmarkId, in regression_comparison_small() argument
Ddistributions.rs13 use crate::report::{BenchmarkId, ComparisonData, MeasurementData, ReportContext};
16 id: &BenchmarkId, in abs_distribution() argument
127 id: &BenchmarkId, in abs_distributions() argument
158 id: &BenchmarkId, in rel_distribution() argument
290 id: &BenchmarkId, in rel_distributions() argument
Dt_test.rs8 use crate::report::{BenchmarkId, ComparisonData, MeasurementData, ReportContext};
11 id: &BenchmarkId, in t_test() argument
Dsummary.rs5 use crate::report::{BenchmarkId, ValueType};
39 all_curves: &[&(&BenchmarkId, Vec<f64>)], in line_comparison() argument
127 all_curves: &[&(&BenchmarkId, Vec<f64>)], in violin() argument
133 let all_curves: &[&(&BenchmarkId, Vec<f64>)] = &*all_curves_vec; in violin()
Dpdf.rs4 use crate::report::{BenchmarkId, ComparisonData, MeasurementData, ReportContext};
8 id: &BenchmarkId, in pdf() argument
228 id: &BenchmarkId, in pdf_small() argument
365 id: &BenchmarkId, in pdf_comparison() argument
380 id: &BenchmarkId, in pdf_comparison_small() argument
Dmod.rs22 use crate::report::{BenchmarkId, ValueType};
206 all_curves: &[&(&BenchmarkId, Vec<f64>)], in line_comparison() argument
224 all_curves: &[&(&BenchmarkId, Vec<f64>)], in violin() argument
/external/rust/crates/chrono/benches/
Dchrono.rs6 use criterion::{black_box, criterion_group, criterion_main, BenchmarkId, Criterion};
96 group.bench_with_input(BenchmarkId::new("new", year), &d, |b, y| { in bench_num_days_from_ce()
99 group.bench_with_input(BenchmarkId::new("classic", year), &d, |b, y| { in bench_num_days_from_ce()
/external/rust/crates/criterion/src/analysis/
Dcompare.rs11 use crate::report::BenchmarkId;
17 id: &BenchmarkId, in common() argument
102 id: &BenchmarkId, in estimates() argument
Dmod.rs16 use crate::report::{BenchmarkId, Report, ReportContext};
40 id: &BenchmarkId, in common() argument
261 fn base_dir_exists(id: &BenchmarkId, baseline: &str, output_directory: &Path) -> bool { in base_dir_exists() argument
/external/rust/crates/criterion/src/plot/plotters_backend/
Ddistributions.rs5 use crate::report::{BenchmarkId, MeasurementData, ReportContext};
9 id: &BenchmarkId, in abs_distribution() argument
128 id: &BenchmarkId, in abs_distributions() argument
158 id: &BenchmarkId, in rel_distribution() argument
292 id: &BenchmarkId, in rel_distributions() argument
Dsummary.rs26 all_curves: &[&(&BenchmarkId, Vec<f64>)], in line_comparison() argument
120 all_curves: &[&(&'a BenchmarkId, Vec<f64>)], in line_comparison_series_data() argument
158 all_curves: &[&(&BenchmarkId, Vec<f64>)], in violin() argument
163 let all_curves: &[&(&BenchmarkId, Vec<f64>)] = &*all_curves_vec; in violin()
Dmod.rs3 use crate::report::{BenchmarkId, ComparisonData, MeasurementData, ValueType};
189 all_curves: &[&(&BenchmarkId, Vec<f64>)], in line_comparison() argument
207 all_curves: &[&(&BenchmarkId, Vec<f64>)], in violin() argument
Dpdf.rs3 use crate::report::{BenchmarkId, ComparisonData, MeasurementData, ReportContext};
113 id: &BenchmarkId, in pdf_small() argument
172 id: &BenchmarkId, in pdf() argument
/external/rust/crates/criterion/tests/
Dcriterion_tests.rs7 criterion_group, criterion_main, profiler::Profiler, BatchSize, Benchmark, BenchmarkId,
474 group.bench_with_input(BenchmarkId::new("Test 1", x), &x, |b, i| b.iter(|| i)); in test_benchmark_group_with_input()
475 group.bench_with_input(BenchmarkId::new("Test 2", x), &x, |b, i| b.iter(|| i)); in test_benchmark_group_with_input()

12