Am 15.10.2013 22:04, schrieb Florian Weimer: > On 10/15/2013 09:10 PM, Chris Adams wrote: >> Once upon a time, Jan Kratochvil <jan.kratochvil@xxxxxxxxxx> 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. it is - they are *not* loading a lot of dynmaic linked libraries [harry@srv-rhsoft:~]$ ldd /usr/bin/bash linux-vdso.so.1 => (0x00007fffc9764000) libtinfo.so.5 => /lib64/libtinfo.so.5 (0x00007f99b21aa000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f99b1fa6000) libc.so.6 => /lib64/libc.so.6 (0x00007f99b1be4000) /lib64/ld-linux-x86-64.so.2 (0x00007f99b23ee000) > 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. if you *only* can measure it if your system is *idle* than you have what we called "maske dby noise" already in this thread and that is *not* significant
Attachment:
signature.asc
Description: OpenPGP digital signature
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct