[OpenSTEF 4.0] Memory profiling and efficiency improvements

Đang mở
#796 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 2 ngày

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
22/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
plotly, python

Hướng nghiên cứu

The payload names two ideas: the fig.write_html(path, include_plotlyjs='cdn') call, which should be checked for write efficiency, and deepcopy calls that might be replaced with copy. It does not name the files containing them, and the attached memray flamegraph is the only profiling evidence. Start by locating those call sites and profiling the benchmark before changing anything. The acceptance criteria are blank, so define what 'done' means with the maintainers first.

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

Mô tả

fix OpenSTEF 4.0

As
I want to
So that I

🌍 Background

[!IMPORTANT]
Changes should be done by forking OpenSTEF 4.0.0 tracking branch (release/v4.0.0) and then make a PR back onto release/v4.0.0 branch.
Please read the contributing guide before you start.

Image

memray-flamegraph-liander_2024_benchmark_xgboost_gblinear.py.27754.html

Ideas for improvements:

  • Check html writing efficiency, (fig.write_html(path, include_plotlyjs='cdn') # Use CDN instead of embedding)
  • Check if deepcopies can be replaced by copies.

❗Priority (What if we don't do this?/Are there any deadlines? etc.)

Definition of Done:

✅ Acceptance criteria

📄 Documentation criteria:

Interfaces with other products and services

Update relevant confluence pages

🧪 Test criteria:

Unit tests written and passed

⌛ Dependencies:

N/A

🚀 Releasing:

N/A

Other information:

Ngôn ngữ chính
Python
Star
169
Fork
59
Merge trung bình
4 ngày 15 giờ
Pull request đã merge (30 ngày)
8

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

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 OpenSTEF/openstef

Tất cả issue của OpenSTEF/openstef

Issue tương tự

Thêm issue về Python

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.