diff options
author | Alexander Batischev <eual.jp@gmail.com> | 2021-09-23 19:49:23 +0000 |
---|---|---|
committer | Alexander Batischev <eual.jp@gmail.com> | 2021-09-23 19:49:23 +0000 |
commit | 9435d7a9e4a109c747976b25fcd2c43556d9081d (patch) | |
tree | f67dc43f58edb5c05b3fee65e287dd53ea5b38c8 /src/bin/benchmark-null.rs | |
parent | 7d037bdf8231f14c668cc36789ca2873ccaf3b45 (diff) | |
parent | 5768dd1112ef4ebc6040c50d9a64e08989dc0c6a (diff) | |
download | obnam2-9435d7a9e4a109c747976b25fcd2c43556d9081d.tar.gz |
Merge branch 'benchmarks' into 'main'
drop: benchmark programs
Closes #131
See merge request obnam/obnam!184
Diffstat (limited to 'src/bin/benchmark-null.rs')
-rw-r--r-- | src/bin/benchmark-null.rs | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/bin/benchmark-null.rs b/src/bin/benchmark-null.rs deleted file mode 100644 index fc60a77..0000000 --- a/src/bin/benchmark-null.rs +++ /dev/null @@ -1,27 +0,0 @@ -use obnam::benchmark::ChunkGenerator; -use std::path::PathBuf; -use structopt::StructOpt; - -#[derive(Debug, StructOpt)] -#[structopt( - name = "benchmark-index", - about = "Benhcmark the store index in memory" -)] -struct Opt { - // We don't use this, but we accept it for command line - // compatibility with other benchmark programs. - #[structopt(parse(from_os_str))] - chunks: PathBuf, - - #[structopt()] - num: u32, -} - -fn main() { - pretty_env_logger::init(); - - let opt = Opt::from_args(); - let gen = ChunkGenerator::new(opt.num); - - for (_, _, _) in gen {} -} |