~/talk

Running .NET Core performance investigation on Linux

Talkat DotNext 2020 Piter · 2020-06-15..06-18· [dotnet, web-performance]
links:none on file
slides:none on file

Claim: .NET Core throughput improves >20% after targeted Linux investigations. Workflow uses dotnet-trace → speedscope/Chromium for quick cross‑platform sampling, perfcollect requires sudo and crossgen for full native stacks and machine‑wide traces (output often tens of MB; example perf trace ~70–80 MB, speedscope export ~3–4 MB, Chromium ~16 MB). Also demoed VTune for assembly/hardware counters, Rider/dotTrace for IDE sampling, and BenchmarkDotNet for disassembly and eventpipe profiling. A threading fix (merge duplicate worker threads into one) yields ~10% throughput gain; the toolchain and steps (release build, emit PDBs, disable tiered JIT when irrelevant, publish self‑contained) validate and reproduce fixes.

AI-written summary · about

  1. 0:00Introduction
  2. 1:42Performance rule 1
  3. 2:34How to get started
  4. 6:00DotNetTrace
  5. 7:10Demo
  6. 11:12Speedscope
  7. 11:50Speedscope file size
  8. 13:02Viewing the data
  9. 16:42Chromium file format
  10. 18:17Trace file
  11. 20:06Speedscope file
  12. 21:14Limitations of dotnettrace
  13. 22:12What is perfcollect
  14. 24:22Running perfcollect
  15. 24:52Installing crossgen
  16. 28:11Starting perfcollect
  17. 29:39Using speedscope
  18. 32:49Using vitune
  19. 34:14Configure vitune
  20. 36:59View source code
  21. 37:59Disassembly code
  22. 41:49Profiler EP
  23. 43:49DotTrace
  24. 47:29The next steps
  25. 48:29Test coverage
  26. 50:24One year ago
  27. 51:19More edge cases
  28. 53:54Writing benchmarks
  29. 54:54Unit test
  30. 55:29Summary
  31. 57:24Questions
~/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.