[pacman-dev] [PATCH 0/2] Remove REQUIREDBY usage
Xavier
shiningxc at gmail.com
Tue Nov 13 03:15:45 EST 2007
On Mon, Nov 12, 2007 at 11:28:33PM -0600, Dan McGee wrote:
> And continuing the trend of replying to myself, and showing why
> optimizing the small little parts of code can make a huge difference:
> $ time pacman -Qt > /dev/null
> real 0m0.089s
> user 0m0.023s
> sys 0m0.040s
>
> $ time ./src/pacman/pacman -Qt > /dev/null
> real 0m0.377s
> user 0m0.277s
> sys 0m0.063s
>
> This is a 5x increase in speed by making the change I described above
> in the previous email. I'll push a branch to my GIT repo tonight
> detailing the changes.
>
Wow, that's an impressive speed up you made there. Great work!
The inefficiency of Qt will be much less noticeable now.
More information about the pacman-dev
mailing list