[poppler] [RFC] Extend regtest framework to track performance
Albert Astals Cid
aacid at kde.org
Wed Dec 30 16:11:32 PST 2015
El Thursday 31 December 2015, a les 00:58:10, Adam Reichold va escriure:
> Hello again,
>
> Am 31.12.2015 um 00:21 schrieb Albert Astals Cid:
> > El Wednesday 30 December 2015, a les 20:00:17, Ihar Filipau va escriure:
> >> On 12/30/15, Albert Astals Cid <aacid at kde.org> wrote:
> >>> El Wednesday 30 December 2015, a les 17:04:42, Adam Reichold va
escriure:
> >>>> Hello again,
> >>>>
> >>>> as discussed in the code modernization thread, if we are going to make
> >>>> performance-orient changes, we need a simple way to track functional
> >>>> and
> >>>> performance regressions.
> >>>>
> >>>> The attached patch tries to extend the existing Python-based regtest
> >>>> framework to measure run time and memory usage to spot significant
> >>>> performance changes in the sense of relative deviations w.r.t. to these
> >>>> two parameters. It also collects the sums of both which might be used
> >>>> as
> >>>> "ball park" numbers to compare the performance effect of changes over
> >>>> document collections.
> >>>
> >>> Have you tried it? How stable are the numbers? For example here i get
> >>> for
> >>> rendering the same file (discarding the first time that is loading the
> >>> file
> >>> into memory) numbers that range from 620ms to 676ms, i.e. ~10% variation
> >>> without no change at all.
>
> Do you refer to the numbers provided by the patch or to manually running
> e.g. pdftoppm? If you refer to the patch, which iteration counts did you
> use?
Just test-poppler-qt4
More information about the poppler
mailing list