~/talk

High Performance .NET

Talkat Øredev 2024 · 2024-11-06..11-08· [web-performance]
slides:none on file

Claims a concrete speedup on the One Billion Row Challenge from 2.2 minutes to 2.2 seconds by applying measurable changes: use Span<byte> and avoid per-line string allocations, parse numbers as integers (then divide) instead of float parsing, use memory-mapped files plus parallel chunking and work-stealing, measure each change with BenchmarkDotNet, and finish with Native AOT. Code runs fast, benchmarks show microsecond improvements, and the repository contains the working examples.

AI-written summary · about

  1. 0:00Conference welcome
  2. 1:02Why performance matters
  3. 4:101 billion row challenge intro
  4. 5:12Naive implementation flaws
  5. 8:25Allocations slow .NET code
  6. 11:21Optimize by doing less
  7. 13:07Read UTF-8 from bytes
  8. 16:40Span for efficient parsing
  9. 18:26Profiling tools often fail
  10. 19:32Benchmark with BenchmarkDotNet
  11. 22:26Avoid allocations tricks
  12. 26:01Stackalloc and safety
  13. 29:55Benchmark key generation
  14. 32:16Float vs integer parsing
  15. 35:33Memory-mapped files I/O
  16. 39:10Parallelize with memory-mapped files
  17. 42:19Native AOT compilation
  18. 44:48Live demo: Native AOT
~/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.