MSYS build on VS 2019 image is considerably slower than VS 2017 one

belegdol's Avatar

belegdol

24 Jul, 2020 10:46 AM

Hello,

this is a follow-up to
https://help.appveyor.com/discussions/problems/25195-msys-build-on-vs-2019-image-is-twice-as-slow-as-on-vs-2017-one
I have checked again yesterday, and the VS2019 build was still almost 10 minutes slower than VS2017:
https://ci.appveyor.com/project/belegdol/mame/builds/34267225
this is despite the fact that the pacman update finishes and the actual build started at 08:51 mark for VS2017 and at 02:23 mark for VS2019. All else being equal, VS2019 should have been about six and a half minutes faster, not 8 minutes slower.
As mentioned in the original issue, the upstream project (startaq/mame) semi-regularly misses the 60 minutes mark. If builds on both VS versions were equal, time saved by smaller MSYS update could just be enough to make the cutoff reliably.

  1. 1 Posted by eduard.braun2 on 26 Feb, 2021 08:07 PM

    eduard.braun2's Avatar

    We seem to be hitting the same issue with MSYS2 builds:
    I recently switched to the VS2019 image [1] because of the outdated MSYS2 version (that was becoming hard to update and maintain) in the default image. Since then builds do not even come close to finishing despite the 1:30h limit of our project.

    Previously 1:30h was plenty of time to finish builds.

    [1] https://ci.appveyor.com/project/inkscape/inkscape/builds/37807964

  2. 2 Posted by eduard.braun2 on 26 Feb, 2021 08:10 PM

    eduard.braun2's Avatar
  3. Support Staff 3 Posted by Feodor Fitsner on 26 Feb, 2021 09:14 PM

    Feodor Fitsner's Avatar

    I remember experimenting with different cloud providers and Visual Studio 2019 builds were slower on Azure, GCE and bare-metal Hyper-V. I suspect it's somehow related to Windows Server 2019 as a base image. Images on all providers are not related with each other and made separately.

    I'd like to do another experiment with your project. Is master branch green now? Does it run OK on both VS 2017 and VS 2019 images?

  4. 4 Posted by eduard.braun2 on 26 Feb, 2021 09:54 PM

    eduard.braun2's Avatar

    In theory it should run on VS2017 and VS2019 alike and should produce identical results (it updates MSYS2 automatically).

    However the MSYS2 in the VS2017 image was too old previously, so that it could not be updated easily anymore (outdated keyring; outdated pacman without zstd support) which is why I switched to the VS2019 image in the first place (it was recommended in a few places were people were complaining about the outdated MSYS2).

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

27 Apr, 2021 12:06 AM
26 Apr, 2021 05:03 PM
26 Apr, 2021 06:21 AM
21 Apr, 2021 02:52 AM
21 Apr, 2021 02:43 AM
18 Apr, 2021 08:10 PM