react / react/react

[DevTools Bug]: Profiler fail at createing profile for large pages

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

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

Component: Developer Tools Status: Unconfirmed Type: Bug
主要言語
JavaScript
スター
251k
フォーク
51.4k
平均マージ
2日 4時間
マージ済み PR(30日)
53

説明

Website or app

My Project

Repro steps

If you have a large enough page the profiler fails to create a profile even for a small time window and the page freezes

I need a way to profile my pages. I think a file output instead of the visualizer can be helpful.

How often does this bug happen?

Every time

DevTools package (automated)

No response

DevTools version (automated)

No response

Error message (automated)

No response

Error call stack (automated)

No response

Error component stack (automated)

No response

GitHub query string (automated)

No response

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

まず、十分に大きなページと短い profiling ウィンドウを使って失敗を再現し、その後、プロファイルの作成に関係する React DevTools profiler のフローを調査します。profiling によってページがフリーズしたり、プロファイルの作成に失敗したりしなくなれば完了です。issue では、visualizer の代替としてファイル出力を評価することも提案されています。

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

評価

技術スタック
devtools, javascript, react
領域
devtools, frontend, performance
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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