[OpenSTEF 4.0] Memory profiling and efficiency improvements

オープン
#796 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
22/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
plotly, python

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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:

主要言語
Python
スター
169
フォーク
59
平均マージ
4日 15時間
マージ済み PR(30日)
8

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

OpenSTEF/openstef のほかの issue

OpenSTEF/openstef の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。