report elapsed
This commit is contained in:
parent
605538823f
commit
bf62b62727
12
cli/main.py
12
cli/main.py
@ -183,9 +183,15 @@ class Main:
|
||||
)
|
||||
|
||||
if self.progress == Progress.Fancy and self.total > 0:
|
||||
elapsed = (datetime.now() - self.fps.start).total_seconds()
|
||||
print(f"- {(self.fps.total+self.fps.current)/elapsed:.2f} files/second")
|
||||
print(f"- {(self.bps.total+self.bps.current)/MB/elapsed:.2f} MB/second")
|
||||
elapsed = datetime.now() - self.fps.start
|
||||
elapsed_s = elapsed.total_seconds()
|
||||
print(f"- {str(elapsed).split('.')[0]} elapsed")
|
||||
print(
|
||||
f"- {(self.fps.total+self.fps.current)/elapsed_s:.2f} files/second"
|
||||
)
|
||||
print(
|
||||
f"- {(self.bps.total+self.bps.current)/MB/elapsed_s:.2f} MB/second"
|
||||
)
|
||||
|
||||
if context.update:
|
||||
if self.num_idx_upd:
|
||||
|
@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "chkbit"
|
||||
version = "3.0.0"
|
||||
version = "3.0.1"
|
||||
description = "chkbit checks the data integrity of your files"
|
||||
authors = [
|
||||
{name = "Christian Zangl", email = "laktak@cdak.net"},
|
||||
|
Loading…
x
Reference in New Issue
Block a user