Skip to content

test(perf): published 0.6.0 real TCP HTTP baseline (no performance GO) - #128

Merged
agustin18 merged 6 commits into
stablefrom
test/perf-060-real-http-socket
Nov 23, 2026
Merged

agustin18 merged 6 commits into
stablefrom
test/perf-060-real-http-socket

Conversation

@agustin18

Copy link
Copy Markdown
Owner

#100 partial acceptance: real TCP HTTP (not independent hardware)

Add a separate loopback network HTTP benchmark profile that downloads fastapi-cache-stable==0.6.0, pins its published wheel SHA-256, creates a clean Python 3.12 virtualenv, installs pinned framework dependencies plus Uvicorn, verifies pip check, and launches the wheel from site-packages with python -I. Unlike the existing ASGITransport baseline, requests traverse a real localhost TCP socket to a separate Uvicorn OS process.

  • InMemory and Redis standalone 7.4 services (Redis bound to localhost DB15), fresh process for each.
  • HTTP synthetic 128/4096/65536-byte MISS/HIT/304, Authorization bypass, Accept-Language Vary, TTL and slow endpoint; at least 120 latency samples per class, 2 fresh repetitions.
  • Checks status/ETag/body, captures raw CSV + per-run percentiles and aggregate variation, pip freeze and SHA provenance. Scoped random Redis prefix deleted by SCAN+UNLINK only; no FLUSHDB, credentials, remote endpoints or production data.
  • Adds socket-http read-only job for PR and manual workflow_dispatch, uploads evidence, and unit/static guard regressions.
  • No runtime, dependency metadata, PyPI, release, docs Pages or tag changes.

Not a release or performance certification: shared GitHub-hosted runners are not independent controlled hardware, serial p99 is not production p99, there are no preapproved numeric regression budgets and no real Redis disconnect/reconnect fault profile yet. #100 MUST stay open. Protocol remains a proposal.

Review: exact HEAD full CI including real socket job, published-wheel import and SHA, Redis prefix cleanup, exception paths, no unintended credential or key logging, no false claims of performance improvement.

Refs #100, #95. No new issue required.

@agustin18
agustin18 marked this pull request as ready for review November 23, 2026 07:54
@agustin18
agustin18 merged commit f81e60b into stable Nov 23, 2026
37 checks passed
agustin18 added a commit that referenced this pull request Nov 23, 2026
…129)

Keep published 0.6.0 behavior distinguished from merged unreleased #123/#124 fixes and #128 real-socket benchmark. Record #99/#103 public API deferral and remaining #100/#111/#112/#126 gates. 38/38 exact-head checks including docs preview and build. No version bump, tag, release or registry operation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant