From: Igor Vlasenko <vlasenko@imath.kiev.ua>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Cc: Anton Farygin <rider@altlinux.com>
Subject: Re: [devel] I: watch.altlinux.org теперь обрабатывает и watch-файлы.
Date: Fri, 13 Jun 2014 17:49:34 +0300
Message-ID: <20140613144934.GA11757@dad.imath.kiev.ua> (raw)
In-Reply-To: <539AB0C8.5090605@altlinux.com>
On Fri, Jun 13, 2014 at 12:05:28PM +0400, Anton Farygin wrote:
> две минуты на report - это слишком.
> $ time rpm-uscan --report
> 81.19user 3.87system 2:13.73elapsed 63%CPU (0avgtext+0avgdata
2 минуты - это действительно что-то странное.
я у себя такого ни разу не наблюдал.
У меня на разных watch файлах обычно не более 10-12 секунд.
Не смог проверить на ImageMagick
(когда я склонировал ImageMagick, то там не было watch файла),
но на склонированном cups-filters тоже было 11 секунд.
$ git clone git.alt:/people/rider/packages/cups-filters.git cups-filters.git
Cloning into 'cups-filters.git'...
[...]
$ cd cups-filters.git
$ time rpm-uscan --report
Processing watchfile line for ./cups-filters.watch...
Newest version on remote site is 1.0.54, local version is 1.0.53
cups-filters: Newer version (1.0.54) available on remote site:
http://www.openprinting.org/download/cups-filters/cups-filters-1.0.54.tar.xz
(local version is 1.0.53)
rpm-uscan --report 0,57s user 0,22s system 6% cpu 11,419 total
Из этих 11 секунд порядка 4-х секунд съел `find . -name *watch`
и около 7 секунд ушло на сеть. Чистую сеть можно померять,
если не тратить время на find и вызывать rpm-uscan
с опцией --watchfile файл.
$ time rpm-uscan --watchfile cups-filters.watch --report
Processing watchfile line for cups-filters.watch...
Newest version on remote site is 1.0.54, local version is 1.0.53
cups-filters: Newer version (1.0.54) available on remote site:
http://www.openprinting.org/download/cups-filters/cups-filters-1.0.54.tar.xz
(local version is 1.0.53)
rpm-uscan --watchfile cups-filters.watch --report 0,58s user 0,23s system 10% cpu 7,486 total
чтобы профилировать perl программу, надо установить perl(Devel/DProf.pm),
запустить perl -d:DProf rpm-uscan опции
по итогам запустить программу
dprofpp
--
I V
next prev parent reply other threads:[~2014-06-13 14:49 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-10 14:12 Igor Vlasenko
2014-06-10 14:36 ` Michael Shigorin
2014-06-10 16:21 ` Igor Vlasenko
2014-06-11 7:01 ` Paul Wolneykien
2014-06-11 7:13 ` Michael Shigorin
2014-06-11 8:50 ` Anton Farygin
2014-06-11 9:00 ` Michael Shigorin
2014-06-11 17:10 ` [devel] I: gear-uupdate second-announce Igor Vlasenko
2014-06-11 9:02 ` [devel] I: watch.altlinux.org теперь обрабатывает и watch-файлы Anton Farygin
2014-06-11 17:16 ` Igor Vlasenko
2014-06-12 5:05 ` Anton Farygin
2014-06-12 8:08 ` Michael Shigorin
2014-06-12 16:25 ` Igor Vlasenko
2014-06-13 8:05 ` Anton Farygin
2014-06-13 14:20 ` Денис Смирнов
2014-06-13 18:24 ` Anton Farygin
2014-06-13 19:10 ` Денис Смирнов
2014-06-13 19:15 ` Anton Farygin
2014-06-13 19:18 ` alexei
2014-06-13 19:39 ` Anton Farygin
2014-06-13 14:49 ` Igor Vlasenko [this message]
2014-06-13 18:28 ` Anton Farygin
2014-06-13 19:00 ` Anton Farygin
2014-06-13 19:52 ` Igor Vlasenko
2014-06-14 22:20 ` Igor Vlasenko
2014-06-15 11:40 ` Anton Farygin
2014-06-20 9:11 ` Anton Farygin
2014-06-20 11:49 ` Igor Vlasenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140613144934.GA11757@dad.imath.kiev.ua \
--to=vlasenko@imath.kiev.ua \
--cc=devel@lists.altlinux.org \
--cc=rider@altlinux.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git