/external/rust/crates/bencher/ |
D | macros.rs | 7 pub fn $group_name() -> ::std::vec::Vec<$crate::TestDescAndFn> { 10 let mut benches = ::std::vec::Vec::new(); localVariable 12 benches.push(TestDescAndFn { 20 benches 42 if let Some(arg) = ::std::env::args().skip(1).find(|arg| *arg != "--bench") { 45 let mut benches = Vec::new(); localVariable 47 benches.extend($group_name()); 49 run_tests_console(&test_opts, benches).unwrap();
|
/external/llvm-project/lldb/packages/Python/lldbsuite/test/ |
D | bench.py | 5 benchmarks defined in the list named 'benches'. 7 You need to hand edit 'benches' to modify/change the command lines passed to the 12 …./bench.py -e /Volumes/data/lldb/svn/regression/build/Debug/lldb -x '-F Driver::MainLoop()' 2>&1 |… 21 # dotest.py invocation with no '-e exe-path' uses lldb as the inferior program, 23 benches = [ variable 26 './dotest.py -v +b %E %X -n -p TestStartupDelays.py', 29 './dotest.py -v +b %E %X -n -p TestFrameVariableResponse.py', 32 './dotest.py -v +b %E %X -n -p TestSteppingSpeed.py', 35 './dotest.py +b -n -p TestExpressionCmd.py', 38 './dotest.py -v +b -n %E -p TestDoAttachThenDisassembly.py' [all …]
|
/external/rust/crates/nom/ |
D | Cargo.toml.orig | 6 description = "A byte-oriented, zero-copy, parser combinators library" 11 keywords = ["parser", "parser-combinators", "parsing", "streaming", "bit"] 35 lexical = ["lexical-core"] 47 default-features = false 49 [dependencies.lexical-core] 53 [dev-dependencies] 56 doc-comment = "0.3" 58 [build-dependencies] 63 all-features = true 68 codegen-units = 1 [all …]
|
D | Cargo.toml | 9 # issue against the rust-lang/cargo repository. If you're 20 description = "A byte-oriented, zero-copy, parser combinators library" 23 keywords = ["parser", "parser-combinators", "parsing", "streaming", "bit"] 28 all-features = true 32 codegen-units = 1 41 required-features = ["alloc"] 46 required-features = ["alloc"] 51 required-features = ["alloc"] 58 required-features = ["alloc"] 61 name = "blockbuf-arithmetic" [all …]
|
/external/rust/crates/criterion/src/ |
D | bencher.rs | 26 /// * If your routine requires no per-iteration setup and returns a value with an expensive `drop` 28 /// * If your routine requires some per-iteration setup that shouldn't be timed, use `iter_batched` 75 /// criterion_group!(benches, bench); 76 /// criterion_main!(benches); 82 R: FnMut() -> O, in iter() 97 /// get accurate timing information (for example in multi-threaded scenarios where you spawn 126 /// criterion_group!(benches, bench); 127 /// criterion_main!(benches); 133 R: FnMut(u64) -> M::Value, in iter_custom() 144 S: FnMut() -> I, in iter_with_setup() [all …]
|
D | lib.rs | 1 //! A statistics-driven micro-benchmarking library written in Rust. 22 feature = "cargo-clippy", 141 // - $CRITERION_HOME (cargo-criterion sets this, but other users could as well) 142 // - $CARGO_TARGET_DIR/criterion 143 // - the cargo target dir from `cargo metadata` 144 // - ./target/criterion 155 fn debug_enabled() -> bool { in debug_enabled() 164 pub fn black_box<T>(dummy: T) -> T { in black_box() 171 /// This variant is stable-compatible, but it may cause some performance overhead 174 pub fn black_box<T>(dummy: T) -> T { in black_box() [all …]
|
/external/rust/crates/criterion/ci/ |
D | script.sh | 1 set -ex 8 cargo clippy --all -- -D warnings 11 cargo doc --features "$FEATURES" --all --no-deps 15 cp -r book/book/html/ target/doc/book/ 16 travis-cargo doc-upload || true 18 cargo fmt --all -- --check 21 cargo build -Z minimal-versions 23 export RUSTFLAGS="-D warnings" 25 cargo build --features "$FEATURES" $BUILD_ARGS 27 cargo test --features "$FEATURES" --all [all …]
|
/external/protobuf/benchmarks/js/ |
D | js_benchmark.js | 29 if (filename.indexOf("--json_output") != -1) { 30 json_file = filename.replace(/^--json_output=/, ''); 64 protobufjs_decoding: senarios.benches[0] * totalBytes / 1024 / 1024, 65 protobufjs_encoding: senarios.benches[1] * totalBytes / 1024 / 1024 70 + senarios.benches[0] * totalBytes / 1024 / 1024 + "MB/s" ); 72 + senarios.benches[1] * totalBytes / 1024 / 1024 + "MB/s" );
|
/external/arm-optimized-routines/string/ |
D | Dir.mk | 1 # Makefile fragment - requires GNU make 3 # Copyright (c) 2019-2021, Arm Limited. 4 # SPDX-License-Identifier: MIT 10 all-string bench-string check-string install-string clean-string: 15 string-lib-srcs := $(wildcard $(S)/$(ARCH)/*.[cS]) 16 string-test-srcs := $(wildcard $(S)/test/*.c) 17 string-bench-srcs := $(wildcard $(S)/bench/*.c) 19 string-includes := $(patsubst $(S)/%,build/%,$(wildcard $(S)/include/*.h)) 21 string-libs := \ 25 string-tests := \ [all …]
|
/external/skqp/tools/skpbench/ |
D | skpbench.py | 5 # Use of this source code is governed by a BSD-style license that can be 27 Also monitors the output in order to filter out and re-run results that have an 34 __argparse.add_argument('--adb', 36 __argparse.add_argument('--adb_binary', default='adb', 38 __argparse.add_argument('-s', '--device-serial', 41 __argparse.add_argument('-m', '--max-stddev', 44 __argparse.add_argument('-x', '--suffix', 46 __argparse.add_argument('-w','--write-path', 48 __argparse.add_argument('-v','--verbosity', 50 __argparse.add_argument('-d', '--duration', [all …]
|
/external/skia/tools/skpbench/ |
D | skpbench.py | 5 # Use of this source code is governed by a BSD-style license that can be 27 Also monitors the output in order to filter out and re-run results that have an 34 __argparse.add_argument('--adb', 36 __argparse.add_argument('--adb_binary', default='adb', 38 __argparse.add_argument('-s', '--device-serial', 41 __argparse.add_argument('-m', '--max-stddev', 44 __argparse.add_argument('-x', '--suffix', 46 __argparse.add_argument('-w','--write-path', 48 __argparse.add_argument('-v','--verbosity', 50 __argparse.add_argument('-d', '--duration', [all …]
|
/external/rust/crates/chrono/benches/ |
D | serde.rs | 10 let dt: NaiveDateTime = "2000-01-01T00:00:00".parse().unwrap(); in bench_ser_naivedatetime_string() 20 let dt: NaiveDateTime = "2000-01-01T00:00:00".parse().unwrap(); in bench_ser_naivedatetime_writer() 29 criterion_group!(benches, bench_ser_naivedatetime_writer, bench_ser_naivedatetime_string); 30 criterion_main!(benches);
|
D | chrono.rs | 23 let str = black_box("2015-02-18T23:59:60.234567+05:00"); in bench_datetime_parse_from_rfc3339() 33 let str = black_box("2019-03-30T18:46:57.193Z"); in bench_datetime_from_str() 54 for year in -999i32..1000 { in bench_year_flags_from_year() 63 /// If the range `start..end` is back-to-front, i.e. `start` is greater than `end`, the 65 /// `in_between(start, end, div) == - in_between(end, start, div)`. 67 /// When `div` is 1, this is equivalent to `end - start`, i.e. the length of `start..end`. 72 fn in_between(start: i32, end: i32, div: i32) -> i32 { in in_between() 80 end - start in in_between() 84 fn num_days_from_ce_alt<Date: Datelike>(date: &Date) -> i32 { in num_days_from_ce_alt() 89 date.ordinal() as i32 + 365 * diff(1) + diff(4) - diff(100) + diff(400) in num_days_from_ce_alt() [all …]
|
/external/rust/crates/unicode-bidi/ |
D | Cargo.toml.orig | 2 name = "unicode-bidi" 5 license = "MIT / Apache-2.0" 7 repository = "https://github.com/servo/unicode-bidi" 11 # No data is shipped; benches, examples and tests also depend on data. 13 "benches/**", 29 [dev-dependencies] 34 unstable = [] # travis-cargo needs it
|
/external/rust/crates/idna/benches/ |
D | all.rs | 9 let encoded = "abc.xn--mgbcm"; in to_unicode_puny_label() 21 let encoded = "Beispiel.xn--vermgensberater-ctb"; in to_unicode_merged_label() 45 benches, 53 benchmark_main!(benches);
|
/external/rust/crates/itertools/benches/ |
D | powerset.rs | 6 const fn calc_iters(n: usize) -> usize { in calc_iters() 36 benches, 44 criterion_main!(benches);
|
D | fold_specialization.rs | 12 fn next(&mut self) -> Option<Self::Item> { in next() 17 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() 68 benches, 73 criterion_main!(benches);
|
/external/rust/crates/textwrap/ |
D | Cargo.toml | 9 # issue against the rust-lang/cargo repository. If you're 18 exclude = [".github/", ".gitignore", "benches/", "examples/", "fuzz/", "images/"] 23 categories = ["text-processing", "command-line-interface"] 27 all-features = true 31 path = "benches/linear.rs" 35 features = ["embed_en-us"] 46 [dependencies.unicode-width] 49 [dev-dependencies.criterion] 52 [dev-dependencies.lipsum] 55 [dev-dependencies.unic-emoji-char] [all …]
|
/external/rust/crates/criterion/benches/benchmarks/ |
D | external_process.rs | 9 fn create_command() -> Command { in create_command() 12 .arg("benches/benchmarks/external_process.py") in create_command() 20 .arg("--version") in python_fibonacci() 40 c.bench_function("fibonacci-python", |b| { in python_fibonacci() 58 criterion_group!(benches, python_fibonacci);
|
/external/rust/crates/zip/benches/ |
D | read_entry.rs | 9 fn generate_random_archive(size: usize) -> Vec<u8> { in generate_random_archive() 42 benchmark_group!(benches, read_entry); 43 benchmark_main!(benches);
|
/external/rust/crates/itoa/benches/ |
D | bench.rs | 1 #![cfg_attr(feature = "cargo-clippy", allow(cast_lossless))] 8 macro_rules! benches { macro 71 benches! {
|
/external/skqp/infra/pathkit/perf/ |
D | wasm_perf_aggregator.go | 2 // Use of this source code is governed by a BSD-style license that can be 44 … = flag.String("builder", "", "Builder, like 'Test-Debian9-EMCC-GCE-CPU-AVX2-wasm-Debug-All-P… 47 gitHash = flag.String("git_hash", "-", "The git commit hash of the version being tested") 87 if strings.Index(*builder, "-GPU-") != -1 { 182 for name, benches := range results { 185 for _, t := range benches { 191 "average_us": total / float64(len(benches)),
|
/external/skia/infra/wasm-common/perf/ |
D | wasm_perf_aggregator.go | 2 // Use of this source code is governed by a BSD-style license that can be 45 … = flag.String("builder", "", "Builder, like 'Test-Debian9-EMCC-GCE-CPU-AVX2-wasm-Debug-All-P… 48 gitHash = flag.String("git_hash", "-", "The git commit hash of the version being tested") 89 if strings.Index(*builder, "-GPU-") != -1 { 185 for name, benches := range results { 188 for _, t := range benches { 194 "average_us": total / float64(len(benches)),
|
/external/rust/crates/criterion/ |
D | README.md | 3 <div align="center">Statistics-driven Microbenchmarking in Rust</div> 18 <a href="https://travis-ci.org/bheisler/criterion.rs"> 19 <img src="https://travis-ci.org/bheisler/criterion.rs.svg?branch=master" alt="Travis-CI"> 22 <a href="https://ci.appveyor.com/project/bheisler/criterion-rs-vt9fl"> 34 - [Table of Contents](#table-of-contents) 35 - [Features](#features) 36 - [Quickstart](#quickstart) 37 - [Goals](#goals) 38 - [Contributing](#contributing) 39 - [Compatibility Policy](#compatibility-policy) [all …]
|
/external/rust/crates/bytes/ci/ |
D | test-stable.sh | 3 set -ex 5 cmd="${1:-test}" 7 # Install cargo-hack for feature flag test 8 cargo install cargo-hack 11 # * --each-feature includes both default/no-default features 12 # * --optional-deps is needed for serde feature 13 cargo hack "${cmd}" --each-feature --optional-deps 15 cargo "${cmd}" --all-features 17 cargo doc --no-deps --all-features 21 cargo check --benches [all …]
|