A curated list of awesome .NET Performance books, courses, trainings, conference talks, blogs and most inspiring open source contributors. Inspired by awesome-... stuff.
- Pro .NET Performance by Sasha Goldshtein, Dima Zurbalev, Ido Flatow
- CLR via C# by Jeffrey Richter
- Pro Asynchronous Programming with .NET by Richard Blewett, Andrew Clymer
- Writing High-Performance .NET Code by Ben Watson
- Advanced .NET Debugging by Mario Hewardt
- Concurrent Programming on Windows by Joe Duffy
- .NET IL Assembler by Serge Lidin
- High-Performance Windows Store Apps by Brian Rasmussen
- Customizing the Microsoft® .NET Framework Common Language Runtime by Steven Pratschner
- Under the Hood of .NET Memory Management by Chris Farrell and Nick Harrison
- Functional Concurrency in .NET by Riccardo Terrell
- Pro .NET Memory Management: For Better Code, Performance, and Scalability by Konrad Kokosa
- Mastering .NET Performance Tuning by John Robbins
- Using Threads Effectively to Build Scalable, Responsive, and Fast .NET Applications and Components by Jeffrey Richter
- Making .NET Applications Faster by Sasha Goldshtein
- Making .NET Applications Even Faster by Sasha Goldshtein
- Measuring .NET Performance by Sasha Goldshtein
- PerfView Tutorial by Vance Morrison
- Defrag Tools - Perf View by Vance Morrison
- High Performance Coding with .NET Core and C# by Gergely Kalapos
- .NET Performance and Debugging Workshop by SELA (Israel)
- .NET Performance by SELA (Israel)
- Asynchronous Computing and Composing Asynchronous and Event-Based by SELA (Israel)
- Parallel Programming with the TPL by SELA (Israel)
- Solid Async in .NET by Rock Solid Knowledge (UK)
- Mastering .NET Performance Tuning by Wintellect (USA)
- Mastering .NET Threading by Wintellect (USA)
- 2018
- Dotnetos - .NET Performance World with Alexandre Mutel, Andrey Akinshin, Adam Sitnik, Shay Rojansky, Jarosław Pałka, Łukasz Pyrzyk, Konrad Kokosa and Szymon Kulec (2018.11.05, Warsaw)
Sorted from newest to oldest:
- 2017
- What's new for performance in .NET Core 2.0 by Ben Adams (2017.11.09, CORESTART 2.0)
- State of the .NET Performance by Adam Sitnik (2017.07.05, NDC)
- Look Mommy, No GC! by Dina Goldshtein (2017.03.23, NDC)
- Squeezing the Hardware to Make Performance Juice by Sasha Goldshtein (2017.03.17, DotNext)
- Performance tuning Stack Overflow tags by Marco Cecconi (2017.03.17, DotNext)
- Multithreading Deep Dive by Gael Fraiteur (2017.03.17, DotNext)
- Stack Overflow — It's all about performance! by Marco Cecconi (2017.03.17, DotNext)
- ETW — Monitor Anything, Anytime, Anywhere by Dina Goldshtein (2017.03.17, DotNext)
- Exceptional Exceptions in .NET by Adam Sitnik (2017.03.17, DotNext)
- 2016
- PerfView: Measure and Improve Your App's Performance For Free by Sasha Goldshtein (2016.11.02, DotNext)
- The C++ and CLR Memory Models by Sasha Goldshtein (2016.11.02, DotNext)
- Safe Systems Programming in C# and .NET by Joe Duffy (2016.08.20, QCon)
- ASP.NET Core Kestrel: Adventures in building a fast web server by Damian Edwards & David Fowler (2016.08.12, NDC)
- Performance and How to Measure It by Matt Warren (2016.07.28, ProgSCon)
- Performance Optimizations in the Wild by Oren Eini (Ayende) (2016.06.23, NDC)
- The Vector in Your CPU: Exploiting SIMD for Superscalar Performance by Sasha Goldshtein (2016.04.19, DotNext)
- Lessons in Extreme .NET Performance by Ben Watson (2016.03.13, QCon)
- Older
- Making .NET applications faster by Sasha Goldshtein (2015.10.30, DevWeek)
- The zen of async: Best practices for best performance by Stephen Toub (2011.09.13, Build)
- Matt Warren
- Andrey Akinshin
- Oren Eini aka Ayende
- Sasha Goldshtein
- Alexandre Mutel aka xoofx
- Jack Mott aka PerlinMandleBro
- Vladimir Sadov
- Adam Sitnik
- Konrad Kokosa
- Ben Adams
- Jan Kotas
- Stephen Toub
- omariom
- James Ko
- mikedn
- Justin Van Patten
- nietras
- Vladimir Sadov
- Federico Andres Lois
- Konrad Kokosa
- BenchmarkDotNet - Powerful .NET library for benchmarking.
- NBench - Cross-platform performance benchmarking and testing framework for .NET applications.
- xunit.performance - Provides extensions over xUnit to author performance tests.
- Prefix - Free lightweight profiler for ASP.NET apps shows everything your code is doing across 30+ common libraries
- MiniProfiler - Free profiling tool for .NET applications with Entity Framework and ASP.Net integration (Core supported for both versions)
- dotTrace - Paid profiler for .NET applications from the JetBrains team, included in the Resharper Ultimate package
- App Metrics - App Metrics is an open-source and cross-platform .NET library used to record and report metrics within an application and reports it's health. See the docs for more details.
- Mathematics
- MathNet - Math.NET is an opensource initiative to build and maintain toolkits covering fundamental mathematics, targetting advanced but also every day needs of .Net developers.
- Spreads - "Series and Panels for Real-time and Exploratory Analysis of Data Streams", a library for fast time series incremental calculations + SIMD-optimized byte-shuffling/LZ4/Zstd compression using Blosc library.
- CPU Optimization
- SIMD Array - SIMD and other Performance enhanced Array operations for F#.
- NativeInterop - Generic pointers and native 64-bit arrays for .NET.
- IO Optimization
- Nessos Streams - A lightweight F#/C# library for efficient functional-style pipelines on streams of data.
- Wire - A high performance polymorphic serializer for the .NET framework.
- Disruptor-Net - .NET port of LMAX Disruptor, a faster alternative to BlockingCollection.
- MPMCQueue.NET - Bounded multiple producers multiple consumers queue for .NET.
- Collections
- ImTools - Immutable persistent collections and helpers designed for performance and simplicity of use.
- Parsing and Compiling
- markdig - Markdig is a fast, powerful, CommonMark compliant, extensible Markdown processor for .NET.
- FastExpressionCompiler - Fast Expression Trees compiler to delegate to compensate for slow
Expression.Compile()
.
- Inversion of Control frameworks
- DryIoc - For the past years a fastest Dependency Injection library without sacrificing on functionality.
- SimpleInjector - Fast Dependency Injection library that promotes best practice to steer developers towards the pit of success.
- The Art of Benchmarking by Matt Warren
- Adventures in Benchmarking - Memory Allocations by Matt Warren
- Micro-Benchmarking Done Wrong, And For The Wrong Reasons by Sasha Goldshtein
- Stopwatch under the hood by Andrey Akinshin
- DateTime under the hood by Andrey Akinshin
- Benchmarking made easy by Jon Skeet
- Simple microbenchmarking in C# by Jon Skeet
- Acquiring high-resolution time stamps
- On ‘stackalloc’ Performance and The Large Object Heap by Sasha Goldshtein
- Micro-Benchmarking Considered Harmful by Sasha Goldshtein
- On Measuring Performance by Sasha Goldshtein
- Performance exercise: Minimum by Andrey Akinshin
- Performance exercise: Division by Andrey Akinshin
- Measuring Performance Improvements in .NET Core with BenchmarkDotNet (Part 1) by Andrey Akinshin
High-performance .NET by example: Filtering bot traffic by Alexandr Nikitin
- RyuJIT Tutorial by Carol Eidt
- JIT Optimizations by Sasha Goldshtein
- JIT Optimizations, Inlining, and Interface Method Dispatching (Part 1 of N) by Sasha Goldshtein
- JIT Optimizations, Inlining, and Interface Method Dispatching (Part 2 of N) by Sasha Goldshtein
- Performance differences between debug and release builds by Hans Passant
- Aggressive Inlining in the CLR 4.5 JIT by Sasha Goldshtein
- Jit Optimizations: Inlining (I) by David Notario
- Jit Optimizations: Inlining (II) by David Notario
- More on inlining… by Eric Gunnerson
- To Inline or not to Inline: That is the question by Vance Morrison
- Some Notes on Using Machine Learning to Develop Inlining Heuristics by Andy Ayers
- The JIT does dead-code elimination in Debuggable code by Mkie Stall
- Does the JIT take advantage of my CPU? by David Notario
- Unrolling of small loops in different JIT versions by Andrey Akinshin
- RyuJIT CTP5 and loop unrolling by Andrey Akinshin
- RyuJIT RC and constant folding by Andrey Akinshin
- A story about JIT-x86 inlining and starg by Andrey Akinshin
- LegacyJIT-x86 and first method call by Andrey Akinshin
- Do PDB Files Affect Performance? by John Robbins
- What does the optimize switch do? by Eric Lippert
- Hoisting in .NET Explained (part 1) by Alexandr Nikitin
- Hoisting in .NET Examples (part 2) by Alexandr Nikitin
- ref returns are not pointers by Vladimir Sadov
- managed pointers by Vladimir Sadov
- Local variables cannot be returned by reference by Vladimir Sadov
- Safe to return rules for ref returns by Vladimir Sadov
- Why ref locals allow only a single binding? by Vladimir Sadov
- ref returns and locals by Adam Sitnik
- Threading in C# by Joseph Albahari
- Pooling large arrays with ArrayPool by Adam Sitnik
- Value Types vs Reference Types by Adam Sitnik
- Span by Adam Sitnik
- Exploring .NET Core platform intrinsics: Part 1 - Accelerating SHA-256 on ARMv8 by Nemanja Mijailovic
- Exploring .NET Core platform intrinsics: Part 2 - Accelerating AES encryption on ARMv8 by Nemanja Mijailovic
- Exploring .NET Core platform intrinsics: Part 3 - Viewing the code generated by the JIT by Nemanja Mijailovic
- Exploring .NET Core platform intrinsics: Part 4 - Alignment and pipelining by Nemanja Mijailovic
- .NET Core 3.0 Intrinsics in Real Life - 1/3 by damageboy
- .NET Core 3.0 Intrinsics in Real Life - 2/3 by damageboy