[arch-projects] [namcap] [PATCH] Use section.iter_tags('type') as applicable

Emil Velikov emil.l.velikov at gmail.com
Fri Jan 29 00:13:41 UTC 2021


On Sun, 10 Jan 2021 at 16:34, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>
> On Tue, 5 Jan 2021 at 01:40, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> >
> > This produces shorter and faster code. The speed-up depends greatly on
> > the workload - so here are some examples:
> >
> > File: mesa-18.3.2-1-x86_64.pkg.tar.xz from [1]
> >
> > Before:
> > 1.66s user 0.15s system 100% cpu 1.814 total
> > 1.61s user 0.21s system 100% cpu 1.820 total
> > 1.69s user 0.15s system 100% cpu 1.832 total
> >
> > After:
> > 1.62s user 0.17s system 100% cpu 1.782 total
> > 1.66s user 0.14s system 100% cpu 1.800 total
> > 1.63s user 0.15s system 100% cpu 1.781 total
> >
> > File: mesa-18.3.2-1-x86_64.pkg.tar.xz renamed to foo.bar
> > Note: due to the rename, the build-in python extractor is used.
> >
> > Before:
> > 687.76s user 2.19s system 99% cpu 11:30.68 total
> >
> > After:
> > 390.73s user 1.37s system 99% cpu 6:32.72 total
> >
>
> Hey everyone, just to clarify:
> The above numbers are indicative when using the (old) shell script as
> well as with master.
>
> Although if people prefer I can drop the numbers all together :-)
>
Humble poke anyone?

-Emil


More information about the arch-projects mailing list