Revert "Co #11198: Expose benchmark machine command (#1172)"

This reverts commit 5ae9b9baef.
This commit is contained in:
Bastian Köcher
2022-04-20 15:37:58 +02:00
parent 563ce7cb93
commit fd8c244d0a
3 changed files with 304 additions and 392 deletions
Generated
+304 -390
View File
File diff suppressed because it is too large Load Diff
-1
View File
@@ -262,7 +262,6 @@ pub fn run() -> Result<()> {
cmd.run(config, partials.client.clone(), db, storage) cmd.run(config, partials.client.clone(), db, storage)
}), }),
BenchmarkCmd::Overhead(_) => Err("Unsupported benchmarking command".into()), BenchmarkCmd::Overhead(_) => Err("Unsupported benchmarking command".into()),
BenchmarkCmd::Machine(cmd) => runner.sync_run(|config| cmd.run(&config)),
} }
}, },
Some(Subcommand::TryRuntime(cmd)) => { Some(Subcommand::TryRuntime(cmd)) => {
-1
View File
@@ -502,7 +502,6 @@ pub fn run() -> Result<()> {
}) })
}), }),
BenchmarkCmd::Overhead(_) => Err("Unsupported benchmarking command".into()), BenchmarkCmd::Overhead(_) => Err("Unsupported benchmarking command".into()),
BenchmarkCmd::Machine(cmd) => runner.sync_run(|config| cmd.run(&config)),
} }
}, },
Some(Subcommand::TryRuntime(cmd)) => { Some(Subcommand::TryRuntime(cmd)) => {