~/lightning

Lightning Talk: Adventures in Benchmarking Timestamp Taking in Cpp

Lightningat CppCon 2022 · 2022-09-11..09-16· [web-performance]
links:none on file
slides:none on file

Benchmarks compare clock_gettime vs rdtsc and use QuickBench then real servers; initial QuickBench numbers show 85× slower for clock_gettime, but running compiled code on target hardware shows only ~2× slowdown. Profiling with perf reveals clock_gettime ultimately uses the CPU TSC on Linux so execution stays in user space, with extra wrapper instructions accounting for the difference. Net result: timestamps cost about 15 ns more for the wrapper, not a syscall-level catastrophe.

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.