Files
langflow/.github
ogabrielluiz ac95486108 feat(benchmarks): cold-start measurement harness
Adds a reproducible cold-start benchmarking harness covering lfx run bare boot,
lfx run <flow> first-execution, and langflow run end-to-end restart scenarios.

- src/backend/tests/benchmarks/: driver, scenarios, fixtures, mock LLM,
  measurement Dockerfile, thresholds.json sentinel baseline, conftest.
- src/lfx/src/lfx/_bench.py: stdlib-only checkpoint instrumentation gated on
  LFX_BENCHMARK_CHECKPOINTS.
- src/lfx/src/lfx/cli/run.py: integrates checkpoint hooks at after-imports,
  before-run-flow, after-run-flow landmarks; dump() on completion.
- .github/workflows/cold-start-benchmark.yml: label-gated CI regression gate
  with per-scenario matrix jobs. run-benchmarks (verify) and
  run-benchmark-snapshot (capture) label triggers.
- Makefile: bench-local / bench-docker / bench-snapshot / bench-verify-synthetic.
- pyproject.toml + uv.lock: benchmarks dep group.
2026-04-20 11:37:42 -03:00
..