~/talk

Rock Your Code: Code & App Performance for Microsoft .NET

slides:none on file

Compares .NET 6 vs .NET 8 microbenchmarks and real incidents: .NET 8 shows widespread speedups, regex precompiled/SourceGenerator patterns hit 21× faster with zero allocations, a regex Source Generator pattern reaches 36× faster, logger Source Generator is 11× faster, StringBuilder pooling beats + concatenation and yields ~21× faster than +=, RandomNumberGenerator is ~8× faster than Random for byte arrays, Exists is ~4× faster than Any, TryGetValue with Ordinal is fastest for dictionaries, and a 200 GB in‑memory catalog causing spikes to 50,000 TPS is resolved to enable cloud migration.

AI-written summary · about

  1. 0:00Welcome
  2. 3:19Speaker and focus
  3. 5:53Code performance goals
  4. 9:46Cleaner faster code
  5. 12:34String handling in .NET
  6. 23:17Collections performance
  7. 31:59LINQ performance
  8. 36:01Source generators
  9. 40:59Logging with generators
  10. 43:11Regex with generators
  11. 45:56Data validation impact
  12. 47:43Interpolated strings pitfalls
  13. 51:47Performance in .NET 8
  14. 53:14Editor config settings
  15. 55:46Benchmarking code
  16. 56:51Related shows
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.