~/talk

Unlocking performance improvements in .NET

Talkat DotNext 2021 Piter · 2021-04-20..04-23· [dotnet]
slides:none on file

Concrete wins and methods: use benchmark.net and the TechEmpower suite to measure real work; .NET sees ~250–300 perf PRs per release with ~20% from the community; int32.ToString drops from ~48 ns to ~10–12 ns across releases (roughly 4× faster vs .NET Framework), regex goes 470 ns → 150 ns, a concurrent queue rewrite cuts 45 ms → 12 ms and 8.5 MB allocations → ~0, async/runtime and ValueTask changes eliminate ~333 KB per-iteration allocations, and the runtime repo dotnet/runtime runs ~4 million tests per PR.

AI-written summary · about

  1. 0:00Start
  2. 23:55Memory Diagnoser Benchmark
  3. 26:02Micro Benchmarks
  4. 30:01Compression
  5. 33:45Concurrent Queue
  6. 39:28Span and Read-Only Span
  7. 50:52Gc Pause
  8. 55:51Cash Allocation
  9. 56:58Value Task
  10. 1:00:20Array Pool
  11. 1:01:35Hardware Intrinsics
  12. 1:06:57Analyzers
  13. 1:10:53Inner Loop Tests
~/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.