37 Commits

Author SHA1 Message Date
16c7ee0408 Separate Connection and Request lifetimes 2025-09-14 15:04:37 -04:00
1fa3381e4b Use send/sendmsg and don't ignore SIGPIPE 2025-09-13 17:25:20 -04:00
2bc17cbfe6 Add bench_reference.cpp
Also update snake case script for nanobench symbols
2025-09-11 12:22:56 -04:00
962a010724 Simplify process_connection_writes condition
And comment explaining that we there's something more precise but more
complex available.
2025-09-10 16:45:04 -04:00
f56ed2bfbe Rename ArenaAllocator -> Arena 2025-09-05 17:57:04 -04:00
ed6e6ea9fe Output trailing : for konsole integration workaround 2025-08-28 14:45:40 -04:00
3d61408976 Use precise memory orderings in load_tester 2025-08-27 18:13:28 -04:00
b6e57f58af Increase buffer size to 1 << 16
Also improve camel case script
2025-08-26 22:31:42 -04:00
f8be6941bb Move latency_sim to tools 2025-08-25 13:49:02 -04:00
612497f733 Try enforcing snake_case 2025-08-25 13:47:35 -04:00
5ebdffdbce Use csignal instead of signal.h 2025-08-23 21:37:23 -04:00
18a1b30d9f Fix EINTR handling for close 2025-08-23 20:14:24 -04:00
a820efa2e6 Fix EINTR handling 2025-08-23 17:32:37 -04:00
c536522f21 Fix throughput calculation 2025-08-22 14:26:56 -04:00
22e638e1f9 One epoll instance per network thread in load tester 2025-08-21 14:04:23 -04:00
cb6660bdd8 Tinker with defaults to increase throughput 2025-08-21 13:01:56 -04:00
093e618b98 I'm not interested in EPOLLRDHUP 2025-08-21 13:01:42 -04:00
6e9d045b2b Fix broken pipe bug in client 2025-08-21 13:01:25 -04:00
0b9310d560 Tune defaults for load tester a bit and remove "auto config" 2025-08-20 22:44:44 -04:00
24a1157f0d Try writing once on connect thread 2025-08-20 15:47:20 -04:00
729fe5c033 Measure latency 2025-08-20 15:45:38 -04:00
4e7bede241 Use --requests-per-connection 2025-08-20 15:28:48 -04:00
7f4c024efa Shutdown network threads after connect threads
Fixes ctrl-c, which was previously hanging in sem_wait
2025-08-20 15:10:23 -04:00
abb47ee0c3 Accumulate headers properly 2025-08-20 14:10:39 -04:00
8ccb02f450 We don't want to close the connection on EPOLLRDHUP
We'll rely on the errors from reads and writes to close the connections
2025-08-20 14:09:39 -04:00
cf692e71ef Perfetto tracing for /ok. Header parsing not complete 2025-08-20 12:19:20 -04:00
0e885f1ff1 Perfetto tracing in load tester 2025-08-20 11:36:02 -04:00
1b09e971bc Print load tester config 2025-08-20 11:23:43 -04:00
5d5d8bc495 Add cli options to load tester 2025-08-20 11:13:13 -04:00
4b907819dc Match server's epoll usage a bit better 2025-08-20 10:57:04 -04:00
cf9598a568 Remove duplicate __has_feature check 2025-08-20 10:41:54 -04:00
a20b61ec56 Small tweaks to new load tester 2025-08-20 10:40:29 -04:00
339e9c6bec WIP 2025-08-20 09:32:52 -04:00
9e397d19c9 Make codebase consistent with design.md 2025-08-17 17:00:23 -04:00
34ebf5725f Simplify public headers more 2025-08-17 16:38:38 -04:00
fa2a2e4427 Decouple parser from CommitRequest 2025-08-17 15:32:54 -04:00
f1794bcb3e Add arena debug visualization tool 2025-08-15 11:25:10 -04:00