Compute HTML byte coverage for all decoded sources in one traversal

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
70/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
performance

調査の方向性

Start at polyfile/html.py:98 and trace how HTML report generation gathers coverage for each source. Change the collection so coverage intervals are gathered per source in one traversal, then use a multisource fixture to verify identical sorted gaps and standalone output. Compare scaling as the member count grows.

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

説明

enhancement

HTML report generation walks the entire structure tree for every source. In an isolated measurement of source_buffers, 400 one-node sources took about 0.0105 seconds, while 800 took about 0.0408 seconds. Archives with many decoded members repeat this work.

Release timing. This optimization can ship after 1.0 without changing the report format.

Acceptance. Collect coverage intervals per source in one traversal. Verify identical sorted coverage gaps and standalone output on a multisource fixture, and compare scaling as the member count grows.

polyfile/html.py:98

主要言語
Python
スター
394
フォーク
34
平均マージ
14時間 46分
マージ済み PR(30日)
130

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

trailofbits/polyfile のほかの issue

trailofbits/polyfile の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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