mirror of
https://github.com/sharkdp/hyperfine.git
synced 2024-09-11 14:07:02 +03:00
Update code comments
This commit is contained in:
parent
72d27729fa
commit
bf4d78dcaf
@ -35,12 +35,12 @@ impl<'a> Scheduler<'a> {
|
||||
self.options.show_output,
|
||||
)?;
|
||||
|
||||
// Run the benchmarks
|
||||
for (num, cmd) in self.commands.iter().enumerate() {
|
||||
self.results
|
||||
.push(run_benchmark(num, cmd, shell_spawning_time, self.options)?);
|
||||
|
||||
// Export (intermediate) results
|
||||
// We export (all results so far) after each individual benchmark, because
|
||||
// we would risk losing all results if a later benchmark fails.
|
||||
self.export_manager
|
||||
.write_results(&self.results, self.options.time_unit)?;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user