/external/rust/crates/criterion/src/ |
D | report.rs | 62 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 …]
|
D | benchmark_group.rs | 5 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 …]
|
D | csv_report.rs | 3 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
|
D | fs.rs | 10 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()
|
D | routine.rs | 4 use crate::report::{BenchmarkId, Report, ReportContext}; 29 id: &BenchmarkId, in profile() argument 85 id: &BenchmarkId, in sample() argument
|
D | benchmark.rs | 6 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/ |
D | mod.rs | 9 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/ |
D | mod.rs | 1 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/ |
D | compare_functions.rs | 3 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()
|
D | with_inputs.rs | 3 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/ |
D | iteration_times.rs | 6 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
|
D | regression.rs | 7 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
|
D | distributions.rs | 13 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
|
D | t_test.rs | 8 use crate::report::{BenchmarkId, ComparisonData, MeasurementData, ReportContext}; 11 id: &BenchmarkId, in t_test() argument
|
D | summary.rs | 5 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()
|
D | pdf.rs | 4 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
|
D | mod.rs | 22 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/ |
D | chrono.rs | 6 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/ |
D | compare.rs | 11 use crate::report::BenchmarkId; 17 id: &BenchmarkId, in common() argument 102 id: &BenchmarkId, in estimates() argument
|
D | mod.rs | 16 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/ |
D | distributions.rs | 5 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
|
D | summary.rs | 26 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()
|
D | mod.rs | 3 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
|
D | pdf.rs | 3 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/ |
D | criterion_tests.rs | 7 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()
|