Benoit Chesneau fa967743c0 Optimize ASGI performance with fast parser integration
Wire HttpParser to ASGI hot path, replacing AsyncRequest.parse() with
direct buffer-based parsing. Add FastAsyncRequest wrapper for body
reading. Replace per-request Queue/Task with BodyReceiver for on-demand
body reading. Keep headers as bytes end-to-end to avoid conversion
overhead. Add backpressure control and keepalive timer. Cache response
status lines and Date header.

Benchmark shows 3x improvement: ~875K req/s for simple GET (was ~340K).
2026-03-21 11:36:46 +01:00
..
2026-02-06 08:21:18 +01:00

Generate Documentation

Requirements

Install the documentation dependencies with:

pip install -r requirements_dev.txt

This provides MkDocs with the Material theme and supporting plugins.

Build static HTML

mkdocs build

The rendered site is emitted into the site/ directory.

Preview locally

mkdocs serve

This serves the documentation at http://127.0.0.1:8000/ with live reload.