![]() Last year, we announced support for the commit graph feature. If you’ve worked on a large Git repository, you might have noticed performance issues when viewing your Git repository, visualizing the commit history or doing other operations that are related to the number of commits in your repository. While these improvements are quite noticeable, startup is not the only area caches can help. This saves time for everyone on your team since they no longer need to generate the same cache data locally. The cache only needs to be created once and then can be shared by all developers using the shared Dev Box image. When using the pre-created cache on Dev Box, C++ IntelliSense is available right away without waiting. We saw similar results testing with the Unreal Engine repository, reducing the total load time down from 117 seconds to 19 seconds. ![]() Using Chromium as an example large repository, we saw the initial solution load decrease by 75% using pre-generated caches for Dev Box. As a result, Visual Studio is able to load your solution and enable Visual Studio’s feature faster on Dev Box. Visual Studio’s /PopulateSolutionCache along with the /localCache switch now allows Dev Box users to generate these Visual Studio caches and include them as part of their Dev Box Image. With this project specific image, Dev Box users can get developing right away with everything their project needs already prepared for them. This means you can create a custom Dev Box Image with all the tools, source code, and dependencies your development project needs. With Microsoft Dev Box we create ready-to-code development desktops in the cloud. Once the caches are created Visual Studio can quickly use these features. Working with large solutions can add a significant amount of time to startup while these caches are created. When opening a solution for the first time these caches must be generated by indexing and processing the codebase. Visual Studio utilizes many caches to increase the performance of key features like Find in Files and IntelliSense. Now with Visual Studio 17.7, you can try out pre-caching for yourself on Microsoft Dev Box. This year at Microsoft Build we demonstrated Visual Studio pre-caching for Microsoft Dev Box, one of the many integrations that make using Visual Studio on Microsoft Dev Box a great experience.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |