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>
37 lines
808 B
JSON
37 lines
808 B
JSON
{
|
|
"name": "neon-cold-start-probe",
|
|
"version": "0.1.0",
|
|
"description": "Measure the real cold-start latency of a serverless Postgres endpoint (Neon and similar) from a fresh connection, not a guess.",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"bin": {
|
|
"neon-cold-start-probe": "bin/neon-cold-start-probe.mjs"
|
|
},
|
|
"files": [
|
|
"bin",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"dependencies": {
|
|
"pg": "^8.13.1"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.ereboslab.com/caelum0x/neon-cold-start-probe.git"
|
|
},
|
|
"homepage": "https://scribase.com/neon-compute-limit-cold-start",
|
|
"keywords": [
|
|
"neon",
|
|
"postgres",
|
|
"cold-start",
|
|
"serverless-postgres",
|
|
"scale-to-zero",
|
|
"latency",
|
|
"cli",
|
|
"scribase"
|
|
]
|
|
}
|