The GitHub Actions job "Tests (AMD)" on airflow.git/parse-result-query-budget 
has succeeded.
Run started by GitHub user ephraimbuddy (triggered by ephraimbuddy).

Head commit for run:
116461e55b9f7c202215a3afef3d72477b6c5a21 / Ephraim Anierobi 
<[email protected]>
Pin the statement budget for persisting Dag parse results

The Dag processor's manager issues these statements once per parsed file, and 
how
many was written down nowhere, so a change could add round trips to that path
unnoticed.

Measure it: a call costs 10 statements per file plus 3 per Dag the file defines,
and a sweep pays that fixed price once per persistence call -- currently one 
call
per file. Those counts are calibrated against Postgres, and the tests carrying
them are marked for it, since statement counts differ by dialect.

The sweep cost is measured through _collect_results and derives both prices from
its own measurements, so it carries no dialect-specific number, runs on any
backend, and tracks whatever strategy the manager uses.

Timing this proved unreliable: on a throttled single-core container, repeat runs
of identical code vary by more than a third, far larger than the savings under
consideration. Counting statements is exact.

Report URL: https://github.com/apache/airflow/actions/runs/32045440810

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to