[FFmpeg-devel] [PATCH 3/3] configure: speedup x2-x8

James Almer jamrial at gmail.com
Mon Aug 27 17:41:26 EEST 2018


On 8/25/2018 6:15 PM, Michael Niedermayer wrote:
> On Sat, Aug 25, 2018 at 06:11:10PM +0000, avih wrote:
>> For overview see:
>> http://ffmpeg.org/pipermail/ffmpeg-devel/2018-August/233665.html
>>
>> Attached is patch 3/3 which was at "main.patch" of that message.
>>
>> After the previous speedups, configure spent 20-60% of its runtime
>> at check_deps(). It's particularly slow with bash. After some local
>> optimizations - mainly avoid pushvar/popvar and abort early in one
>> notable case (empty deps), it's now x4-x25 faster.
>>
> 
> patches 1-3 work here fine on linux x86-64 / 32, arm, mips, wine+mingw32/64

Just pushed them.

Thanks a lot Avi for this! Configure slowness has been pretty
discouraging for devs for some time now.


More information about the ffmpeg-devel mailing list