save_plot_pdf takes too much time
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ệ
- r
- Lĩnh vực
- performance
Hướng nghiên cứu
Start by locating save_plot_pdf and profiling its work when given dynamic plots; the issue does not identify a source file or test. Compare runtime on the reported 60-situation example before and after any change, and verify the generated PDFs still work; done means a meaningful reduction in runtime that makes larger SMS datasets more feasible.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
save_plot_pdf takes too much time — about 8 minutes to generate a PDF of dynamic plots for 60 situations.
I want to generate files using CroPlotR to obtain evaluation results from STICS.
To achieve this, I do the following:
sim <- SticsRFiles::get_sim(workspace = "path/to/usms_data")
obs <- SticsRFiles::get_obs(workspace = "path/to/usms_data")
library(CroPlotR)
plots <- plot(sim, obs = obs, type = "dynamic")
CroPlotR::save_plot_pdf(plots, out_dir = "/path/to/out_dir")
The 60 situations are a sample from SMS data.
I used the RStudio profiler to get more information about which parts of the code are the most time-consuming.
This behavior occurs on both the main and code-refactoring branches.
I think the function should be optimized to reduce execution time.
My goal is to have an evaluation system that processes at least the entire SMS dataset (around 3,200 situations), but at the moment this is not feasible due to the long processing time.
- Ngôn ngữ chính
- R
- Star
- 1
- Fork
- 3
- Merge trung bình
- 9 giờ 41 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
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 SticsRPacks/CroPlotR
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
SticsRPacks/CroPlotR#185 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
SticsRPacks/CroPlotR#180 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
SticsRPacks/CroPlotR#186 ·
-
Error is raised if not any var in data.frames in sim_list of a stics_wrapper returned objectĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 57/100
SticsRPacks/CroPlotR#181 ·
-
enhancement
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 64/100
SticsRPacks/CroPlotR#173 ·
Tất cả issue của SticsRPacks/CroPlotR
Issue tương tự
-
1.7
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
pharmaverse/admiral#3235 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Typo: p.381Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
rmcelreath/rethinking#482 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/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 84/100
Maintainer thường phản hồi trong vòng 1 ngày