Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Scan time on large applications: measured breakdown and remaining options

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

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
35/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
playwright, typescript, vite
Lĩnh vực
performance, testing-qa

Hướng nghiên cứu

Start by measuring how quickly a passing focus move arrives, then benchmark Vite server.warmup and parallel screen scans as described in the issue. Compare results on a quiet machine and account for the source attributes needed by overlay file and line hints. Done means the measurements support a decision on which scan-time option to adopt.

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

Mô tả

area: engine enhancement performance

Measured on a real product UI (one screen, about 55 seconds)

Phase Share
Readiness wait while the app mounts about 2,000 dev-server modules 37%
Seven focus-settle timeouts at 2.5 s proving menus do not steal focus 32%
Whole-DOM fetch per accessibility lookup (separate issue) 16%
Keyboard walks, axe, everything else 15%

The lab tunnel was not the bottleneck: API calls cost about 300 ms more than local and overlap with module loading.

On a small application one screen takes about 10 seconds warm. Editing the vite config triggers a one-time dependency re-optimization that doubles the next scan.

Options not taken, with reasons

  • Shortening SETTLE_SAMPLES_REQUIRED recovers about 1 second but guards a real two-burst mount regression.
  • Shortening FOCUS_SETTLE_TIMEOUT_MS recovers 2.5 seconds per unfocused widget but there is no measurement of how quickly a passing focus move arrives; shortening blind turns slow but correct focus into false failures. Measure a passing case first.
  • Running screens in parallel shares one browser process and a DOM-stability poll, so contention lengthens the wait; likely a loss on a loaded laptop. Measure before adopting.
  • A production build removes the module-graph cost but drops the JSX source attributes the overlay's file and line hints read.
  • Vite server.warmup for the target application may cut the module-graph time while keeping source attributes; unmeasured.

Direction

Measure a passing focus move; measure server.warmup; measure parallel screens on a quiet machine; then decide.

Ngôn ngữ chính
TypeScript
Star
0
Fork
0
Merge trung bình
2 giờ 48 phút
Pull request đã merge (30 ngày)
8

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

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

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 usabl-dev/usabl

Tất cả issue của usabl-dev/usabl

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.