~/talk

State of the .NET Performance

Talkat .NET Summit Belarus 2017 · on Saturday, 2017-09-23· [dotnet]
links:none on file
slides:none on file

Overview of concrete tools and measured wins: uses BenchmarkDotNet and System.Buffers' ArrayPool; ref returns and ref locals cut repeated struct copies and speed a tight loop by ~4x; ValueTask avoids allocations on hot synchronous paths; renting buffers from ArrayPool beats new for large buffers (about 8–9x) and prevents LOH-triggered full GCs; Span slicing makes substring-like operations zero-allocation and shows ~4.5x slower for String.Substring(10) and ~47x for 1,000 versus slicing; stackalloc and managed references remove pins and unsafe in many hot paths.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:12Garbage collection and .NET Core basics
  3. 3:01Value types and performance benefits
  4. 5:32Read-only structs and defensive copying
  5. 6:14Managed references vs unsafe code
  6. 11:18ValueTask for async optimization
  7. 16:04Garbage collection generations and large objects
  8. 17:54ArrayPool for memory pooling
  9. 23:17Stackalloc and memory allocation methods
  10. 26:12Span for zero-allocation slicing
  11. 33:20Contributing to .NET Core
  12. 39:16Intermediate Language and performance
  13. 41:08Summary and performance tips
  14. 43:20Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.