Full workspace save does unnecessary work on large workspaces
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
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- java
- Lĩnh vực
- desktop-dev, performance
Hướng nghiên cứu
Bắt đầu với SaveManager.save(FULL_SAVE, ...), sau đó kiểm tra visitAndSave, visitAndSnap, resetSnapshots, removeUnusedTreeFiles và saveMetaInfo; so sánh hành vi lưu đầy đủ với việc theo dõi snapshot và công việc song song theo từng dự án. Kiểm tra IDEWorkbenchAdvisor.disconnectFromWorkspace() và SafeFileOutputStream khi đo hành vi tắt hệ thống. Hoàn tất khi các tài nguyên không thay đổi tránh được việc ghi dư thừa, giảm các lần đọc đồng hồ không cần thiết, xử lý các lần duyệt tuần tự và hiển thị được thời gian thực thi của ISaveParticipant.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
During tracing the startup time of Eclipse I noticed that shutdown is also slow.
On a workspace with 756 projects and ~3300 markers the "Saving Workspace" dialog shown by
IDEWorkbenchAdvisor.disconnectFromWorkspace() stays up for several seconds on shutdown.
Happens in SaveManager.save(FULL_SAVE, ...), and parts of it are done regardless of
what actually changed:
SafeFileOutputStreamcommits by copying the temporary file over the target, so the workspace
tree,.markersand.syncinfoare written twice.visitAndSaverewrites.markersand.syncinfofor every project, even when neither changed
since the last full save. The snapshot path already tracks this per resource, the full save does not.visitAndSaveandvisitAndSnapread the clock four times per visited resource even when no
save trace option is enabled.resetSnapshots,removeUnusedTreeFilesandsaveMetaInfowalk all projects sequentially doing
file system stats, whilevisitAndSavenext to them already runs per project in parallel.- A slow
ISaveParticipantis invisible without enabling-debug, so third party contributions
cannot be told apart from platform work.
I plan to work on these.
- Ngôn ngữ chính
- Java
- Star
- 165
- Fork
- 174
- Merge trung bình
- 2 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 39
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của eclipse-platform/eclipse.platform
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
eclipse-platform/eclipse.platform#2940 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Terminal views all show same name 'Terminal' in Ctrl+F7 view switcher popupCó thể đã có người làm @ravnskjaer đã nhận 4 ngày trước. Đang mởbug good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
eclipse-platform/eclipse.platform#2774 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
eclipse-platform/eclipse.platform#2593 · 7 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Improve tabs in Terminal viewĐang mởenhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
eclipse-platform/eclipse.platform#3015 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
NPE in AbstractWindowListener.windowOpened when ConsoleManager service is nullCó thể đã có người làm @SougandhS đã nhận 1 ngày trước. Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
eclipse-platform/eclipse.platform#3012 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của eclipse-platform/eclipse.platform
Issue tương tự
-
needs-area-label
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
quelea-projection/Quelea#711 ·
-
bug pdd
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 67/100
objectionary/eo#9450 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[EC2] DescribeAvailabilityZones should return real AWS error for unknown zone nameCó thể đã có người làm @omatheusmesmo đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area: core good first issue type: enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100