mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-02 09:01:25 +00:00
Update code comments
This commit is contained in:
1 parent
72d27729fa
commit
bf4d78dcaf
1 file changed
+2
-2
@@ -35,12 +35,12 @@ impl<'a> Scheduler<'a> {
|
|||||||
self.options.show_output,
|
self.options.show_output,
|
||||||
)?;
|
)?;
|
||||||
|
|
||||||
// Run the benchmarks
|
|
||||||
for (num, cmd) in self.commands.iter().enumerate() {
|
for (num, cmd) in self.commands.iter().enumerate() {
|
||||||
self.results
|
self.results
|
||||||
.push(run_benchmark(num, cmd, shell_spawning_time, self.options)?);
|
.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
|
self.export_manager
|
||||||
.write_results(&self.results, self.options.time_unit)?;
|
.write_results(&self.results, self.options.time_unit)?;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user