add performance metrics for measuring startup time (#3854)

* add performance metrics for measureing startup time

* removed some comments

* update so tests pass

* update default.toml for tests, merged main

* fix clippy lints

* wording changes
This commit is contained in:
Darren Schroeder
2021-07-29 18:52:40 -05:00
committed by GitHub
parent 653cbe651f
commit 23ba01d89c
9 changed files with 309 additions and 8 deletions

View File

@ -14,6 +14,7 @@ impl WholeStreamCommand for Command {
.switch("stdin", "redirect stdin", None)
.switch("skip-plugins", "do not load plugins", None)
.switch("no-history", "don't save history", None)
.switch("perf", "show startup performance metrics", None)
.named(
"commands",
SyntaxShape::String,