~/talk

Look Mommy, No GC

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

Shows that excessive allocation causes large GC pauses (one Unity case reports ~33% of frame time in GC and traces peak GC time to 50–85%), and that using the right patterns and tools fixes it: use PerfMon / typeperf plus ETW + PerfView and allocation profilers (CLR Allocation Analyzer, dotMemory), measure with BenchmarkDotNet, and change code: implement IEquatable to cut allocations and get ~3x faster comparisons, replace LINQ with loops (observed ~10x speedup), use value types, pooling and ArrayPool, and stop calling GC.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:25Garbage collection side effects
  3. 4:59Identifying memory problems
  4. 8:09Performance counters overview
  5. 11:00Event tracing for Windows
  6. 15:18Analyzing ETW recordings
  7. 22:20Static code analysis benefits
  8. 24:55Dynamic memory profilers
  9. 27:02Understanding boxing impact
  10. 35:16Lambdas and memory allocation
  11. 40:47LINQ performance pitfalls
  12. 42:35General optimization tips
  13. 49:34Q&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.