datasette/perf/request-response/tools
Claude 07068144f9
Measure table-page extras on free-threaded Python 3.15
Runs the table pages on 3.15.0b4t with parallel and sequential extras,
1-8 SQL threads, and 1 or 8 requests in flight. On the GIL build parallel
extras are slower because the SQL worker threads contend for the GIL on
every fetched row. On the free-threaded build that penalty disappears and
throughput under load is 2.2-3.1x higher. Adds a patch that resolves
extras in parallel only when the GIL is disabled, the stress and gather
microbenchmark tools, and the raw results.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F8mEgRS8swZfYqwqrVMeo5
2026-10-13 19:40:24 +00:00
..
.gitignore Measure table-page extras on free-threaded Python 3.15 2026-10-13 19:40:24 +00:00
analyze_collapsed.py Add request/response profiling harness and proposed optimisation patches 2026-10-13 00:12:35 +00:00
bench_asgi.py Measure table-page extras on free-threaded Python 3.15 2026-10-13 19:40:24 +00:00
e2e_bench.py Add end-to-end server results to the performance report 2026-10-13 01:28:50 +00:00
ft_stress.py Measure table-page extras on free-threaded Python 3.15 2026-10-13 19:40:24 +00:00
load.py Add end-to-end server results to the performance report 2026-10-13 01:28:50 +00:00
measure_ab.py Measure table-page extras on free-threaded Python 3.15 2026-10-13 19:40:24 +00:00
micro_gather.py Measure table-page extras on free-threaded Python 3.15 2026-10-13 19:40:24 +00:00
serve_variant.py Add end-to-end server results to the performance report 2026-10-13 01:28:50 +00:00
summarize_all.py Add request/response profiling harness and proposed optimisation patches 2026-10-13 00:12:35 +00:00