Showing category results for Performance

Nov 27, 2020
Post comments count4
Post likes count0

The updated GetGCMemoryInfo API in .NET 5.0 and how it can help you

maoni
maoni

things library folks wanted at the time. In 5.0 I got requests from folks to monitor more things about the GC. Instead of adding a bit of info each time someone asks, I really thought about the kinds of things that would help with monitoring and diagnostics and expanded the info provided by this API significantly. It also has a new overload, docume...

.NET CorePerformance.NET Internals
Sep 2, 2020
Post comments count13
Post likes count0

ARM64 Performance in .NET 5

Kunal Pathak
Kunal Pathak

ARM64 performance work in .NET 5

.NET Core.NETC#
Jul 13, 2020
Post comments count60
Post likes count3

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 CoreC#
Mar 16, 2020
Post comments count20
Post likes count4

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 asynchron...

.NET.NET CoreC#
Dec 11, 2019
Post comments count51
Post likes count67

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 asy...

.NET.NET CoreC#
Dec 11, 2019
Post comments count39
Post likes count28

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 eithe...

.NET.NET CoreC#
Dec 9, 2019
Post comments count2
Post likes count0

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, aside from...

.NET.NET Core.NET Framework
Sep 9, 2019
Post comments count6
Post likes count0

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 per...

Performance.NET CoreGC