mbox series

[ovs-dev,0/3] travis: Build time optimization.

Message ID 20190806114607.9659-1-i.maximets@samsung.com
Headers show
Series travis: Build time optimization. | expand

Message

Ilya Maximets Aug. 6, 2019, 11:46 a.m. UTC
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(-)

Comments

Aaron Conole Aug. 6, 2019, 2:36 p.m. UTC | #1
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>
Ilya Maximets Aug. 15, 2019, 12:43 p.m. UTC | #2
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.