aboutsummaryrefslogtreecommitdiff
path: root/clap/benches/01_default.rs
diff options
context:
space:
mode:
Diffstat (limited to 'clap/benches/01_default.rs')
-rw-r--r--clap/benches/01_default.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/clap/benches/01_default.rs b/clap/benches/01_default.rs
deleted file mode 100644
index 24e619e..0000000
--- a/clap/benches/01_default.rs
+++ /dev/null
@@ -1,18 +0,0 @@
-#![feature(test)]
-
-extern crate clap;
-extern crate test;
-
-use clap::App;
-
-use test::Bencher;
-
-#[bench]
-fn build_app(b: &mut Bencher) {
- b.iter(|| App::new("claptests"));
-}
-
-#[bench]
-fn parse_clean(b: &mut Bencher) {
- b.iter(|| App::new("claptests").get_matches_from(vec![""]));
-}