summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/App/BorgRestore.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/App/BorgRestore.pm b/lib/App/BorgRestore.pm
index 749f60b..238fa50 100644
--- a/lib/App/BorgRestore.pm
+++ b/lib/App/BorgRestore.pm
@@ -324,7 +324,7 @@ sub _handle_added_archives {
}
});
- $log->debugf("Finished parsing borg output after %.5fs. Adding to db", Time::HiRes::gettimeofday - $start);
+ my $borg_time = Time::HiRes::gettimeofday;
$self->{db}->begin_work;
$self->{db}->add_archive_name($archive);
@@ -334,7 +334,7 @@ sub _handle_added_archives {
$self->{db}->vacuum;
my $end = Time::HiRes::gettimeofday();
- $log->debugf("Adding archive finished after: %.5fs", $end - $start);
+ $log->debugf("Adding archive finished after: %.5fs (parsing borg output took %.5fs)", $end - $start, $borg_time - $start);
}
}