diff options
| author | eunhhu <[email protected]> | 2026-09-27 18:49:19 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-09-27 18:49:19 +0100 |
| commit | 0d0f1fcdfc3b50dfc43c415607707174271f4835 (patch) | |
| tree | 7c4d01909dae97f410fb6a1f420cf3238de0a8aa /tests/check.py | |
| parent | 63bfa85e6a63f0718f8e644921201b26bbe8bfd8 (diff) | |
| download | pure-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 'tests/check.py')
0 files changed, 0 insertions, 0 deletions
