question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Regression in build times for Travis CI using 2.2.300 SDK

See original GitHub issue

From @martincostello on Saturday, June 8, 2019 9:32:34 AM

I’ve noticed across several different projects I maintain that since the SDK was updated from 2.2.1xx or 2.2.2xx to 2.2.300, the time to build the projects in Travis CI has regressed by up to an order of magnitude on both Linux and macOS.

However I’m not seeing the same regression in Azure DevOps pipelines for Linux, macOS or Windows, or AppVeyor for Windows.

Below are a selection of projects that show a build time regression immediately after merging a PR that contains a commit that updates the SDK to 2.2.300:

History Build time pre-update Build time post-update Delta PR with SDK update Commit with SDK update
project-euler 3 min 40 sec 37 min 13 sec +1,015% #33 b2c7ed3
JustEat.StatsD 2 min 33 sec 12 min 19 sec +483% #177 4f4ac55
sqllocaldb 3 min 31 sec 16 min 28 sec +468% #88 671307a
adventofcode 7 min 4 sec 31 min 51 sec +450% #72 8ecc3a7
JustSaying 6 min 49 sec 25 min 55 sec +380% #545 88f241c
httpclient-interception 6 min 26 sec 16 min 26 sec +255% #85 065c722
alexa-london-travel-site 5 min 34 sec 11 min 31 sec +206% #267 48b47a5
api 5 min 54 sec 9 min 46 sec +165% #112 40c1dee
website 4 min 26 sec 7 min 13 sec +162% #263 3a43580

My hunch is that it is related to the new “progress bar” when running dotnet test which is causing the Travis agents to waste a lot of time trying to “draw” it because the actual test run times printed in the build output are equivalent:

Copied from original issue: dotnet/sdk#3314

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:21 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mayankbansal018commented, Jul 1, 2019

this should be fixed via https://github.com/dotnet/cli/pull/11497, will keep it open for tracking

0reactions
martincostellocommented, Aug 13, 2019

I’m also still observing this with the 3.0.100-preview8-013656 SDK - has the fix been ported to the 3.0.0 SDK yet?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Regression in build times for Travis CI using 2.2.300 SDK #3314
I've noticed across several different projects I maintain that since the SDK was updated from 2.2.1xx or 2.2.2xx to 2.2.300, the time to...
Read more >
Speeding up the build - Travis CI
It will split tests across virtual machines and make sure that tests will run a comparable time on each VM (each job will...
Read more >
NET Core sdk installed on every build - C#
Hello, when building with .NET Core using multiple steps, Travis-CI reinstalls the .NET Core sdk every time. Secondly it does seem to ignore ......
Read more >
Using Travis CI For Regression Tests - Aither CFD
This file instructs Travis CI on how to build the code and run any regression tests. For Aither, a matrix of five builds...
Read more >
High Performance Computing
The use and development of high performance computing (HPC) in Latin America is steadily growing. New challenges come from the capabilities provided by ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found