[lintian] 02/05: lintian: Give a total memory usage for the group
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit ac27884a530da15bcc075446b45e6a9518f2a729
Author: Niels Thykier <niels@thykier.net>
Date: Thu Jul 16 22:07:35 2015 +0200
lintian: Give a total memory usage for the group
---
frontend/lintian | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/frontend/lintian b/frontend/lintian
index 533c37f..b51e844 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -1162,6 +1162,10 @@ sub process_group {
perf_log("$gname,total-group-check,${raw_res}");
if ($opt{'debug'} > 2) {
+ my $group_id = $group->get_source_processable->identifier;
+ my $group_usage
+ = $memory_usage->([map { $_->info } $group->get_processables]);
+ debug_msg(3, "Memory usage [$group_id]: $group_usage");
for my $lpkg ($group->get_processables) {
my $id = $lpkg->identifier;
my $usage = $memory_usage->($lpkg->info);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: