[perf] nightly: project trash timing exceeds the previous-run threshold again

Đang mở
#401 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
54/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python, typescript
Lĩnh vực
performance, testing

Hướng nghiên cứu

Start by reading the benchmark entry point, scripts/bench_creation_projects.py, and the nightly threshold check that reported REGRESSION storage.delete.trash. Repeat the documented delete workload on matched environments and report each sample plus a stable aggregate. If the result reproduces, profile the trash operation and separate storage time from runner and filesystem variation; keep the existing threshold and missing-sample checks unless evidence supports changing them.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area:ci area:performance

Observed failure

On main 58b6a96df89f92f240b2931bc55fdb3cd779d244, nightly 44425602809 / daily-benchmark measured storage.delete.trash at 232.9 ms, versus 130.0 ms in the previous reference run: +102.9 ms / +79.15%.

The benchmark completed and uploaded its report. The threshold step exited 1, naming only REGRESSION storage.delete.trash; no suite failure or incomplete sample was reported. The rule requires both current > 1.5× reference and a delta of at least 50 ms. Both were met; the fixed baseline is unseeded, so 130.0 ms is a previous-run sample, not a frozen baseline. Pan p95 did not trigger the gate (delta 33.4 ms).

Reproduction and limits

GitHub-hosted Ubuntu 22.04.5, image 20261111.360.2, Python 3.12.16, runner 2.338.2. On the tested revision with repository dependencies installed:

python scripts/bench_creation_projects.py --scenario delete --commits 600 --nodes 200 --projects 0 --json

This creates disposable synthetic projects. It separately measures client snapshot and times one execute(project.trash) operation. Earlier scheduled values were 104.4, 148.3 and 107.1 ms; #299 also recorded a separate 172.4 vs 107.2 ms signal while tracking an artifact-layout bug. These are different runner instances/revisions, not matched repeats. Changes since the previous nightly were chat-draft serialization/tests (#395) and documentation (#399), with no storage or benchmark file changes. This establishes a threshold failure, not a confirmed product regression; no independent latency reproduction has been run.

Acceptance

  • Preserve the two JSON samples and runner details. Repeat the same workload on matched environments, reporting individual values and a stable aggregate.
  • If reproducible, profile the trash operation and distinguish storage work from runner/filesystem variation. Keep the existing threshold and missing-sample checks unless evidence supports a change.

Related: #299 (historical threshold signal), #180/#182 (deletion performance), #213/#216 (benchmark). No active issue tracking this exact threshold failure was found.

Ngôn ngữ chính
TypeScript
Star
119
Fork
16
Merge trung bình
16 giờ 13 phút
Pull request đã merge (30 ngày)
195

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ThinkFlowLab/OpenDirector

Tất cả issue của ThinkFlowLab/OpenDirector

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.