Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to the new flame graph implementation by default and remove d3 dependency #777

Closed
aalexand opened this issue May 2, 2023 · 3 comments · Fixed by #825
Closed

Switch to the new flame graph implementation by default and remove d3 dependency #777

aalexand opened this issue May 2, 2023 · 3 comments · Fixed by #825
Labels
Priority: p2 Buganizer priority - P2 type: cleanup Buganizer type - Internal Cleanup

Comments

@aalexand
Copy link
Collaborator

aalexand commented May 2, 2023

d3 dependency has been heavy toil to carry in pprof - version upgrades like #748 can be difficult when there is a version mismatch between the OSS version and the internal version used at Google. We also don't feel that the d3 usage provides enough value.

The current plan is to switch to the new flame graph implementation in the web UI, then after some time turn down the current d3-based flame graph implementation and the d3 dependency overall.

ghemawat added a commit to ghemawat/pprof that referenced this issue May 8, 2023
In preparation for removing the dependency on D3 make the
new flamegraph view the default. The old view is still available
under /flamegraphold for now.

See issue google#777.
ghemawat added a commit to ghemawat/pprof that referenced this issue May 9, 2023
In preparation for removing the dependency on D3 make the
new flamegraph view the default. The old view is still available
under /flamegraphold for now.

See issue google#777.
ghemawat added a commit to ghemawat/pprof that referenced this issue May 9, 2023
In preparation for removing the dependency on D3 make the
new flamegraph view the default. The old view is still available
under /flamegraphold for now.

See issue google#777.
aalexand added a commit that referenced this issue May 10, 2023
In preparation for removing the dependency on D3 make the
new flamegraph view the default. The old view is still available
under /flamegraphold for now.

See issue #777.

Co-authored-by: Alexey Alexandrov <aalexand@users.noreply.github.com>
@Louis-Ye Louis-Ye added type: cleanup Buganizer type - Internal Cleanup Priority: p2 Buganizer priority - P2 labels May 12, 2023
@dhavaln-able
Copy link

dhavaln-able commented Oct 18, 2023

Just checking, when the d3-dependency supposed to be cleaned up?

@aalexand
Copy link
Collaborator Author

It's probably about the time to do it. The plan was to wait a bit to make sure we hear any potential bug reports about the new default.

@aalexand
Copy link
Collaborator Author

@ghemawat We can probably finish this cleanup now - PTAL #825.

aalexand added a commit to aalexand/pprof that referenced this issue Dec 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: p2 Buganizer priority - P2 type: cleanup Buganizer type - Internal Cleanup
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants