Message ID | 20190806114607.9659-1-i.maximets@samsung.com |
---|---|
Headers | show |
Series | travis: Build time optimization. | expand |
Ilya Maximets <i.maximets@samsung.com> writes: > These are low-hanging optimizations for TravisCI that allows > to speed up build without changing the test scope. > > On 'xenial' images this patch set gives ~30% build time improvement. > Example: > > Before: > Ran for 1 hr 22 min 26 sec > Total time 5 hrs 40 min 56 sec > > After (second run after the cache population): > Ran for 55 min 42 sec > Total time 4 hrs 21 min 14 sec > > Saved: > Run time: ~27 minutes > Total time: ~1 hour 20 minutes > > Ilya Maximets (3): > travis: Cache DPDK build. > travis: Combine kernel builds. > travis: Drop OSX workarounds. > > .travis.yml | 22 +++++-------- > .travis/linux-build.sh | 74 +++++++++++++++++++++++++++++++++--------- > .travis/osx-prepare.sh | 3 -- > 3 files changed, 67 insertions(+), 32 deletions(-) I'm always in favor of saving resources. :) It doesn't seem to break anything existing. Acked-by: Aaron Conole <aconole@redhat.com>
On 06.08.2019 17:36, Aaron Conole wrote: > Ilya Maximets <i.maximets@samsung.com> writes: > >> These are low-hanging optimizations for TravisCI that allows >> to speed up build without changing the test scope. >> >> On 'xenial' images this patch set gives ~30% build time improvement. >> Example: >> >> Before: >> Ran for 1 hr 22 min 26 sec >> Total time 5 hrs 40 min 56 sec >> >> After (second run after the cache population): >> Ran for 55 min 42 sec >> Total time 4 hrs 21 min 14 sec >> >> Saved: >> Run time: ~27 minutes >> Total time: ~1 hour 20 minutes >> >> Ilya Maximets (3): >> travis: Cache DPDK build. >> travis: Combine kernel builds. >> travis: Drop OSX workarounds. >> >> .travis.yml | 22 +++++-------- >> .travis/linux-build.sh | 74 +++++++++++++++++++++++++++++++++--------- >> .travis/osx-prepare.sh | 3 -- >> 3 files changed, 67 insertions(+), 32 deletions(-) > > I'm always in favor of saving resources. :) > > It doesn't seem to break anything existing. > > Acked-by: Aaron Conole <aconole@redhat.com> Thanks! Applied to master. Best regards, Ilya Maximets.