Azure DevOps Windows vs Ubuntu hosted agents for cross-platform apps

0 votes

Are there concrete reasons to select one agent OS over another for cross-platform apps? I see the choice frequently being made based on the developer's OS preference. I created a .net core console app this morning and a pipeline to build it against both windows and ubuntu hosted agents.

stages:
- stage: windows
  jobs:
  - template: build.yml
    parameters:
      pool: windows-latest 
- stage: ubuntu
  jobs:
  - template: build.yml
    parameters:
      pool: ubuntu-latest

I ran the pipeline several times. The windows build time vs ubuntu was considerably larger. I was able to use the analytics right out of the box in AzDO to get some insight:

enter image description here

I shared this internally and another dev tried switching their pipeline to Ubuntu. They saw roughly a 30% decrease in run time.

Questions following this experiment:

Are there types of tasks that run faster on Ubuntu vs Windows and vis versa due to the OS architecture?

Is it possible to "score" a pipeline in order to estimate the best OS to run it on?

Mar 22 in Other DevOps Questions by Kichu
• 15,810 points
33 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Other DevOps Questions

0 votes
0 answers
0 votes
0 answers

Azure Devops for Power apps

I am Implementing DevOps for PowerApps by ...READ MORE

Apr 22 in Other DevOps Questions by Kichu
• 15,810 points
21 views
0 votes
1 answer
0 votes
0 answers
0 votes
1 answer
0 votes
1 answer

How to run C# code on Ubuntu

Hey @Abha, you can create and run ...READ MORE

answered Mar 1, 2019 in Others by Anvi
• 14,170 points
5,183 views
0 votes
0 answers

Azure Devops MS-hosted agent IP address

We use Azure DevOps with Microsoft-hosted agents ...READ MORE

Mar 26 in Other DevOps Questions by Kichu
• 15,810 points
27 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP