~/lightning

The Power of Profiling

Lightningat RustConf 2026 · on Tuesday, 2026-09-08· [rust]
links:none on file
slides:none on file

CPU profiling (works with perf) reveals heavy kernel time caused by block_in_place on every task, which shuffles tasks across threads and spends cycles parking and unparking them. Refactoring to keep blocking work off async futures and treating futures as async-only cuts average write latency by 30%, shown on a columnar database ingesting observability data. Use CPU profiler to find syscalls-heavy hotspots and prefer dedicated blocking threads or true async alternatives. CPU profiling (perf compatible)

AI-written summary · about

~/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.