summaryrefslogtreecommitdiff
path: root/src/performance.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/performance.rs')
-rw-r--r--src/performance.rs21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/performance.rs b/src/performance.rs
index 79fa9ab..29c2328 100644
--- a/src/performance.rs
+++ b/src/performance.rs
@@ -14,15 +14,6 @@ pub enum Clock {
/// Time spent uploading backup generations.
GenerationUpload,
-
- /// Time spent checking if a chunk exists already on server.
- HasChunk,
-
- /// Time spent computing splitting files into chunks.
- Chunking,
-
- /// Time spent scanning live data.
- Scanning,
}
/// Collected measurements from this Obnam run.
@@ -61,18 +52,6 @@ impl Performance {
info!("Chunks uploaded: {}", self.chunks_uploaded);
info!("Chunks reused: {}", self.chunks_reused);
info!(
- "Scanning live data (seconds): {}",
- self.time.secs(Clock::Scanning)
- );
- info!(
- "Chunking live data (seconds): {}",
- self.time.secs(Clock::Chunking)
- );
- info!(
- "Checking for duplicate chunks (seconds): {}",
- self.time.secs(Clock::HasChunk)
- );
- info!(
"Downloading previous generation (seconds): {}",
self.time.secs(Clock::GenerationDownload)
);