vercel-doctor

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Vercel Doctor

Vercel Doctor

Scans your Next.js codebase for patterns that drive up your Vercel bill, focusing on compute duration, function invocations, and bandwidth optimization.
扫描你的Next.js代码库,找出会推高Vercel账单的代码模式,重点关注计算时长、函数调用次数和带宽优化。

Usage

使用方法

bash
npx -y vercel-doctor@latest . --verbose --diff
bash
npx -y vercel-doctor@latest . --verbose --diff

Workflow

工作流程

Run after making changes to catch cost-heavy patterns early. Focus on fixing issues that reduce function execution time and invocations first.
在修改代码后运行,尽早发现高成本代码模式。优先修复那些能减少函数执行时间和调用次数的问题。