Skip to content

Commit

Permalink
Start counting time before processing completions.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaander committed Dec 4, 2024
1 parent ebb9a92 commit da2c479
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ use row::MultiProgressContainer;
use ui::MultiProgressWriter;

fn main_detail() -> Result<(), Box<dyn Error>> {
let instant = Instant::now();

// Autocomplete
CompleteEnv::with_factory(Options::command).complete();

// Normal execution
let instant = Instant::now();
let options = Options::parse();

let log_style;
Expand Down

0 comments on commit da2c479

Please sign in to comment.