Gears 5 Developers Saw Massive Performance Benefits with Visual Studio 2019

The developers behind The Coalition’s blockbuster game Gears 5 say that using Visual Studio 2019 improved the project’s build times by 2.67x.

“The team in The Coalition building Gears 5 tested the compile and link times in three different versions of Visual Studio,” Microsoft’s David Li writes. “The experiment was conducted to measure not only overall end-to-end time improvements but also link time improvements in the preview compared to the current release. Using Visual Studio 2019, the team saw 2.67x faster end-to-end build times and 27.9x faster link times compared to Visual Studio 2017.”

Windows Intelligence In Your Inbox

Sign up for our new free newsletter to get three time-saving tips each Friday — and get free copies of Paul Thurrott's Windows 11 and Windows 10 Field Guides (normally $9.99) as a special welcome gift!

"*" indicates required fields

This field is for validation purposes and should be left unchanged.

Gears 5 is, of course, an enormous software application. According to Microsoft, it took The Coalition 41 minutes (!) to compile the game using Visual Studio 2017. But when moving to Visual Studio 2019, the compilation time dropped to 18.76 minutes. Linking times improved even more, from 11.28 minutes in VS 2017 to just 29.57 seconds in VS 2019.

Oddly, The Coalition can’t move Gears 5 to Visual Studio 2019 despite the improvements because the Xbox Developer Kit (XDK) doesn’t yet support this release, and Gears 5 is a cross-platform game. But Aurel from The Coalition says that this experience prompted it to use Visual Studio 2019 for its next (unannounced) project. “The benefits are many,” she says. “Faster compile/link times, more responsive UI, much more stable debugging.”

Interesting stuff.

Tagged with

Share post

Please check our Community Guidelines before commenting

Conversation 4 comments

  • illuminated

    16 November, 2020 - 5:43 pm

    <p>Sound like C++ project. It is the greatest developer performance killer. </p><p>I wish everybody would move to C# and if garbage collector becomes an issue then somehow push Microsoft to work on improvements. Heck, even Microsoft could use their own tools more and gain from much more productive language that is C#. C++ niche and it should go into retirement together with Cobol.</p>

    • MutualCore

      16 November, 2020 - 8:13 pm

      <blockquote><em><a href="#593403">In reply to illuminated:</a></em></blockquote><p>You can't have a GC running inside a game engine. Performance killer! You trade what's difficult for developers(C++ development) for run-time performance.</p>

    • wright_is

      Premium Member
      17 November, 2020 - 2:58 am

      <blockquote><em><a href="#593403">In reply to illuminated:</a></em></blockquote><p>COBOL isn't in retirement yet. There are still hundreds of millions of lines of code in daily use around the world.</p><p>Our ERP system is still written in COBOL, for example. A lot of big banking systems are still COBOL based.</p><p>There are different languages for a reason, all are good at some things, worse at others. A .Net based language makes for quick development, but it has compromises elsewhere – low level system access, some performance issues etc.</p><p>There is no perfect language, you chose the language that is most appropriate to the task at hand.</p>

  • rkpatrick

    16 November, 2020 - 8:10 pm

    <p><em style="color: rgb(0, 0, 0);">"because the Xbox Developer Kit (XDK) doesn’t yet support this release"</em></p><p><span style="color: rgb(0, 0, 0);">That sounds about par for the course. I've constantly dealt with headaches every time a new release of VS comes out (and VSV2019 is not remotely new), with the myriad of *MS* add-ons that don't work with the current version of MS' own flagship dev product. </span></p>

Windows Intelligence In Your Inbox

Sign up for our new free newsletter to get three time-saving tips each Friday

"*" indicates required fields

This field is for validation purposes and should be left unchanged.

Thurrott © 2024 Thurrott LLC