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

2018-08-27 Thread Michael Niedermayer
On Mon, Aug 27, 2018 at 11:41:26AM -0300, James Almer wrote: > On 8/25/2018 6:15 PM, Michael Niedermayer wrote: > > On Sat, Aug 25, 2018 at 06:11:10PM +, avih wrote: > >> For overview see: > >> http://ffmpeg.org/pipermail/ffmpeg-devel/2018-August/233665.html > >> > >> Attached is patch 3/3 whic

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

2018-08-27 Thread avih
Thanks. I was similarly frustrated with the long runtime of configure, hence I decided to try and do something about it. Luckily, it it was only about 50 LOC which were responsible for it. It could have been much more daunting if the slowness was all over the place. Finding those 50 lines was ano

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

2018-08-27 Thread James Almer
On 8/25/2018 6:15 PM, Michael Niedermayer wrote: > On Sat, Aug 25, 2018 at 06:11:10PM +, 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,

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

2018-08-26 Thread Helmut K. C. Tessarek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 2018-08-25 17:15, Michael Niedermayer wrote: > patches 1-3 work here fine on linux x86-64 / 32, arm, mips, > wine+mingw32/64 Any chance you (or anyone who's commit access to the repo) could commit these 3 patches asap? Cheers, K. C. - -- reg

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

2018-08-26 Thread Reino Wijnsma
On 26-8-2018 22:27, Dave Yeo wrote: > On 08/25/18 11:11 AM, avih wrote: >> 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

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

2018-08-26 Thread Dave Yeo
On 08/25/18 11:11 AM, avih wrote: 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. Works gr

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

2018-08-26 Thread Helmut K. C. Tessarek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 2018-08-25 14:11, 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

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

2018-08-25 Thread Michael Niedermayer
On Sat, Aug 25, 2018 at 06:11:10PM +, 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(

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

2018-08-25 Thread avih
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