Showing results for Performance - .NET Blog

Jul 13, 2020
60
3

Performance Improvements in .NET 5

Stephen Toub - MSFT
Stephen Toub - MSFT

Explore many performance improvements, big and small, that have gone into the .NET 5 runtime and core libraries to make apps and services leaner and faster.

.NET.NET Core.NET Framework
Mar 16, 2020
20
4

Async ValueTask Pooling in .NET 5

Stephen Toub - MSFT
Stephen Toub - MSFT

The async/await feature in C# has revolutionized how developers targeting .NET write asynchronous code. Sprinkle some and around, change some return types to be tasks, and badda bing badda boom, you've got an asynchronous implementation. In theory. In practice, obviously I've exaggerated the ease with which a codebase can be made fully ...

.NET.NET CoreC#
Dec 11, 2019
51
41

ConfigureAwait FAQ

Stephen Toub - MSFT
Stephen Toub - MSFT

.NET added / to the languages and libraries over seven years ago. In that time, it's caught on like wildfire, not only across the .NET ecosystem, but also being replicated in a myriad of other languages and frameworks. It's also seen a ton of improvements in .NET, in terms of additional language constructs that utilize asynchrony, APIs offering ...

.NET.NET CoreC#
Dec 11, 2019
39
17

An Introduction to System.Threading.Channels

Stephen Toub - MSFT
Stephen Toub - MSFT

"Producer/consumer" problems are everywhere, in all facets of our lives. A line cook at a fast food restaurant, slicing tomatoes that are handed off to another cook to assemble a burger, which is handed off to a register worker to fulfill your order, which you happily gobble down. Postal drivers delivering mail all along their routes, and you ...

.NET.NET CoreC#
Dec 9, 2019
2
0

GC Perf Infrastructure – Part 1

maoni
maoni

We open sourced our new GC Perf Infrastructure! It’s now part of the dotnet performance repo. I’ve been meaning to write about it ‘cause some curious minds had been asking when they could use it after I blogged about it last time but didn’t get around to it till now. First of all, let me point out that the target audience of this infra, ...

.NET.NET Core.NET Framework
Sep 9, 2019
6
0

GC Perf Infrastructure – Part 0

maoni
maoni

In this blog entry and some future ones I will be showing off functionalities that our new GC perf infrastructure provides. Andy and I have been working on it (he did all the work; I merely played the consultant role). We will be open sourcing it soon and I wanted to give you some examples of using it and you can add these to your repertoire of ...

Performance.NET CoreGC
Sep 3, 2019
35
4

Hardware Intrinsics in .NET Core

Tanner Gooding [MSFT]
Tanner Gooding [MSFT]

Several years ago, we decided that it was time to support SIMD code in .NET. We introduced the System.Numerics namespace with , , , , and related types. These types expose a general-purpose API for creating, accessing, and operating on them using hardware vector instructions (when available). They also provide a software fallback for when the ...

.NET CorePerformance
May 15, 2019
60
1

Performance Improvements in .NET Core 3.0

Stephen Toub - MSFT
Stephen Toub - MSFT

Take a tour through some of the many improvements, big and small, that have gone into the .NET Core 3.0 runtime and core libraries to make apps and services leaner and faster.

.NET Core.NETC#

Feedback