Замерить скорость сайта
check_performanceMeasure a site's speed and say whether it got worse after a deploy.
The verdict comes FROM THE SCORE, not from timings: repeated runs of the
same deploy vary by at most one point, while LCP and TTFB on identical
code swing by 37-40%. A difference of 3 points or more is meaningful;
anything smaller is measurement noise, and calling that a regression is
inventing a problem.
A run takes tens of seconds. With `wait=true` the tool waits for you; do
not start a second measurement in parallel — it will occupy the queue
and add nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Дождаться результата замера (десятки секунд) или вернуться сразу. `false` — когда пользователю нужен не результат, а сам факт запуска. | |
| project | Yes | Проект: слаг (`my-site`) или id. Слаг — то, что видно в адресе сайта; если пользователь назвал сайт словами, возьми слаг из `my_projects`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delta | Yes | ||
| score | Yes | ||
| message | Yes | ||
| project | Yes | ||
| timings | Yes | ||
| verdict | Yes | ||
| next_action | Yes | ||
| previous_score | Yes |