On 10/15/2013 10:01 PM, Jan Kratochvil wrote:
I have tested a possibly real world script: rm *;sync;(time for i in `seq 0 89`;do mplayer &>/dev/null -nosound -vo png -ss $i -endpos 0 video.mp4;mv 00000001.png $i.png;done) 2>&1|grep ^real|tee -a /tmp/times without prelink: 6.220s 6.212s 6.218s 7.463s 6.277s 6.216s 6.203s 6.255s 6.209s 6.205s with prelink: 6.560s 6.496s 6.501s 6.530s 6.583s 6.616s 6.511s 6.498s 6.489s 6.915s
Uhm, I'm not actually sure which one is better. Prelinking appears slower, but seems to offer more consistent performance.
If I interpret the result of R's t-test correctly, the difference is hardly significant (the p-value is rather high):
without_prelink <- c(6.220, 6.212, 6.218, 7.463, 6.277, 6.216, 6.203, 6.255, 6.209, 6.205) with_prelink <- c(6.560, 6.496, 6.501, 6.530, 6.583, 6.616, 6.511, 6.498, 6.489, 6.915)
> t.test(without_prelink, with_prelink) Welch Two Sample t-test data: without_prelink and with_prelink t = -1.7004, df = 10.905, p-value = 0.1174 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: -0.50988354 0.06568354 sample estimates: mean of x mean of y 6.3478 6.5699 -- Florian Weimer / Red Hat Product Security Team -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct