On 10/15/2013 09:10 PM, Chris Adams wrote:
Once upon a time, Jan Kratochvil <jan.kratoch...@redhat.com> said:
It depends, for example in this case prelink saves 33% of time (and battery):
        i=0;time while [ $i -lt 1000 ];do /usr/bin/gnome-open --help 
&>/dev/null;i=$[$i+1];done

Do you really run "gnome-open --help" 1000 times per reasonable unit of
time (or ever)?  Please stop using bogus comparisons and highly
contrived tests.  They do nothing to help your argument.

This isn't totally invalid. I assume that some shell scripts with tight loops are the only thing that actually benefits from prelinking today. People write those, unfortunately.

I'm attaching a deliberately badly written script which should be fairly representative, alas. I can' benchmark it right now because the system isn't idle, but if someone else wants to have a go at it, be my guest.

--
Florian Weimer / Red Hat Product Security Team

Attachment: palindromes.sh
Description: application/shellscript

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to