Bug#528080: FFmpeg uses text relocations on i386
Michael Gilbert
mgilbert at debian.org
Tue Feb 20 02:44:35 GMT 2018
Out of curiosity, I tested the performance impact of --disable-asm on
i386 with gcc 7.3.
Without --disable-asm:
$ ffmpeg -i BigBuckBunny_320x180.mp4 -f null -benchmark -
[...]
bench: utime=5.136s
bench: maxrss=46660kB
$ ffmpeg -i big_buck_bunny_1080p_stereo.avi -f null -benchmark -
[...]
bench: utime=47.083s
bench: maxrss=50964kB
With --disable-asm:
$ ffmpeg -i BigBuckBunny_320x180.mp4 -f null -benchmark -
[...]
bench: utime=8.073s
bench: maxrss=55000kB
$ ffmpeg -i big_buck_bunny_1080p_stereo.avi -f null -benchmark -
[...]
bench: utime=74.013s
bench: maxrss=53048kB
TLDR, the performance cost (at least for a brute force approach like
this) seems to not be close to 10% as often stated.
Best wishes,
Mike
More information about the pkg-multimedia-maintainers
mailing list