Главная
Study mode:
on
1
Intro
2
Memory Allocations
3
Garbage Collection
4
Garbage Collector Phases
5
Gen 2
6
Reference vs. value types
7
Performance Tips
8
Example: Convert a string to UTF8 bytes
9
Allocation Benchmark
10
Boxing - Benchmark
11
Binary Serialization and Endianness
12
Old: RabbitMQ .NET Client reading int64
13
ASM Diff
14
Binary Serialization Benchmark
15
System.Threading.Channels
16
Applying these optimizations in the real world
17
AMQP Frame
18
Problem 1
19
Solving the problems
20
Validating the changes
21
JetBrains dotTrace
22
PowerUp
23
Questions?
Description:
Explore real-world examples and techniques for optimizing .NET performance in this 40-minute conference talk from NDC Oslo 2023. Dive into memory allocations, garbage collection, and performance optimization strategies using the RabbitMQ .NET Client as a case study. Learn about advanced .NET language features such as ref structs, ref parameters, and code inlining, as well as constructs like Span, Memory, and ArrayPool. Discover how to apply these concepts to your own solutions through benchmarks and practical code examples. Gain insights into binary serialization, endianness, and System.Threading.Channels. Witness the impact of optimizations on real-world scenarios, including AMQP Frame handling and problem-solving approaches. Enhance your .NET performance optimization skills with this comprehensive exploration of cutting-edge techniques and best practices.

Real-World Examples on Optimizing .NET Performance

NDC Conferences
Add to list
0:00 / 0:00