caelum0x 6d6af215a1 feat: neon-cold-start-probe — measure real serverless-Postgres wake-up latency
Fresh-connection probe (never pooled) that times connect/query/total for a
Neon-style scale-to-zero compute, with --repeat/--every-seconds to catch
the real cold-vs-warm gap and a --json summary (min/p50/p95/max).

Verified for real against a local Postgres 16 container: happy path,
--repeat/--every-seconds, --json, and all three failure paths (wrong
port, wrong password, missing connection string) — see
test-fixtures/local-postgres-verification.md for the full transcript,
including an honest note on two false "cold" readings that transcript
caught (local network/load jitter, not a real suspend/resume). No real
Neon account was available in this environment (no credentials, and the
Neon MCP needs an interactive browser OAuth this session can't complete)
so the real Neon suspend/resume cycle itself is not verified live —
logged honestly in the README's "Honest limits" section rather than
claimed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:22:54 +03:00

22 lines
1.0 KiB
Plaintext

MIT License
Copyright (c) 2026 caelum0x
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.