Skip to content

Commit

Permalink
prepare next task
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Jul 1, 2020
1 parent 53b4513 commit 74bcbb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git-odb/src/pack/index/verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,10 @@ impl index::File {
div_decode_result(&mut self.stats.average, self.chunks_seen);
let elapsed_s = Instant::now().duration_since(self.then).as_secs_f32();
self.progress.lock().unwrap().info(format!(
"Reduced {} objects in {:.2}s ({:.0} objects/s)",
"Reduced {} objects in {:.2}s ({} objects/s)",
self.entries_seen,
elapsed_s,
self.entries_seen as f32 / elapsed_s
(self.entries_seen as f32 / elapsed_s) as u32
));
Ok(self.stats)
}
Expand Down
1 change: 1 addition & 0 deletions tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* [ ] ~~a verbose mode to list each object in a pack, similar to existing git-verify-pack~~
* [x] journey tests
* [x] display object throughput per second
* [ ] progress that allows TUI to remain open for people to see more log messages
* [ ] support for serde/miniserde for all returned data types (features per crate)
* **stress**
* [ ] first stress test for validation of a big repository, linux maybe, or something smaller but big enough
Expand Down

0 comments on commit 74bcbb5

Please sign in to comment.