aboutsummaryrefslogtreecommitdiffstats
path: root/research/experiments/004-direct-document-path
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-27 18:49:19 +0100
committereunhhu <[email protected]>2026-09-27 18:49:19 +0100
commit0d0f1fcdfc3b50dfc43c415607707174271f4835 (patch)
tree7c4d01909dae97f410fb6a1f420cf3238de0a8aa /research/experiments/004-direct-document-path
parent63bfa85e6a63f0718f8e644921201b26bbe8bfd8 (diff)
downloadpure-0d0f1fcdfc3b50dfc43c415607707174271f4835.tar.gz
pure-0d0f1fcdfc3b50dfc43c415607707174271f4835.zip
Read the clock once a round
A connection's deadline was counted from a fresh clock_gettime on every read and write, three times a request, and every event took the wall clock again: 5.7% of a small read's user time. A connection thread now reads the monotonic clock once after each epoll_wait and deadlines count from that (they are 10 s by default and swept every second), and a round's events share the time it began.
Diffstat (limited to 'research/experiments/004-direct-document-path')
0 files changed, 0 insertions, 0 deletions