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

belegdol's Avatar


24 Jul, 2020 10:46 AM


this is a follow-up to
I have checked again yesterday, and the VS2019 build was still almost 10 minutes slower than VS2017:
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.


  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


? 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

Recent Discussions

27 Jan, 2023 08:06 PM
27 Jan, 2023 08:05 PM
25 Jan, 2023 03:23 PM
25 Jan, 2023 03:22 PM
23 Jan, 2023 03:29 PM