News

.NET 5 Performance Improvements Cited with 250-Plus Pull Requests

In what might well be the longest post ever on Microsoft's Developer Blogs site, Stephen Toub has documented performance improvements coming in .NET 5, the milestone all-things-.NET unification effort debuting in November that completes Microsoft's transition from the ageing Windows-only .NET Framework to the open source, cross-platform .NET Core direction.

Toub, a partner software engineer on the .NET team, highlights more than 250 pull requests made via GitHub in the transparent effort to create .NET 5, announced at the 2019 Build developer conference with great fanfare and the citing of improvements such as:

  • Producing a single .NET runtime and framework that can be used everywhere and that has uniform runtime behaviors and developer experiences.
  • Expanding the capabilities of .NET by taking the best of .NET Core, .NET Framework, Xamarin and Mono.
  • Building that product out of a single code-base that developers (Microsoft and the community) can work on and expand together and that improves all scenarios.
.NET 5
[Click on image for larger view.] .NET 5 (source: Microsoft).

The massive July 13 post detailing all of the performance improvements is a tl;dr candidate if there ever was one, but Toub indicates there is yet more to come.

".NET 5 has already seen a wealth of performance improvements, and even though it's not scheduled for final release until this fall and there's very likely to be a lot more improvements that find their way in by then, I wanted to highlight a bunch of the improvements that are already available now. In this post, I'll highlight ~250 pull requests that have contributed to myriad of performance improvements across .NET 5." he said.

To provide an overview of specific areas that might be of interest in the tome, improvements are grouped thusly:

As impressive as the list is, there's still a lot of functionality that isn't going to be baked into .NET 5 in its initial release because of development delays caused by the COVID-19 pandemic.

The .NET Schedule
[Click on image for larger view.] The .NET Schedule (source: Microsoft).

"In the wake of the global health pandemic, we've had to adapt to the changing needs of our customers and provide the support needed to assist with their smooth operations," said Scott Hunter, director of program management, .NET, in a post published during this year's Build developer conference. ". Our efforts continue to be anchored in helping our customers address their most urgent needs. As a result, we expect these features to be available in preview by November 2020, but the unification will be truly completed with .NET 6, our Long-Term Support (LTS) release. Our vision hasn't changed, but our timeline has."

Toward the end of his treatise, Toub points out upcoming performance improvements that didn't make it into his list and one class of performance regressions pertaining to International Components for Unicode (ICU).

"With .NET 5 previews and nightly builds available, I'd encourage you to download the latest bits and give them a whirl with your applications. And if you find things you think can and should be improved, we'd welcome your PRs to dotnet/runtime!" Toub finally concluded.

"Thank you for this very long and detailed article. Those numbers are impressive!" said one reader comment.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube