From eaa10fd6b08d1733c7d62d4f8b68ffa895d16bb1 Mon Sep 17 00:00:00 2001 From: bigcode Date: Fri, 30 Oct 2026 00:29:17 +0800 Subject: [PATCH] =?UTF-8?q?stress:=20=E5=8D=95=E5=8F=B7=E7=9C=9F=E5=AE=9E?= =?UTF-8?q?=E6=9E=81=E9=99=90=E6=97=A5=E5=AE=B9=E9=87=8F=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E5=99=A8(=E8=87=AA=E9=80=82=E5=BA=94=E5=8A=A0=E9=80=80?= =?UTF-8?q?=E9=81=BF=E6=8E=A7=E5=88=B6=E5=99=A8,24h=20=E5=AE=9E=E6=B5=8B)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- stress/serp-profile-max.ts | 198 +++++++++++++++++++++++++++++++++++++ 1 file changed, 198 insertions(+) create mode 100644 stress/serp-profile-max.ts diff --git a/stress/serp-profile-max.ts b/stress/serp-profile-max.ts new file mode 100644 index 0000000..d78efd8 --- /dev/null +++ b/stress/serp-profile-max.ts @@ -0,0 +1,198 @@ +/** # 脚本说明 + * SERP 单号日容量「真实极限」测试器(用户 2026-10-30 要求:真实跑一天,不要算出来的数): + * SERP_TOKEN=xxx bun serp-profile-max.ts --hours 24 --label capmax --spec "fp:组名,fp:组名" + * 每号自适应控制器:能跑多快跑多快,被 Google 拦就退避,恢复就再加速 —— + * 干净 200:间隔 ×0.72 收缩(下限 5s ≈ 720/h 上限); + * 门壳 / 上游硬失败:间隔 ×2.2 放大(上限 10 分钟),连续 ≥5 判入狱转探测(1 次/5 分钟); + * 验证码:直接入狱探测,首个干净 200 出狱,间隔重置 30s 重新爬坡。 + * 跑满 24h 后每号的干净 200 总数 = 该号真实一天能执行的搜索量(实测,非推算)。 + * 记录:data/