vitejs / vitejs/devtools

Global toggle for gzipped size, or at least for Treemap, Sunburst and Flamegraph

Open
#293 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
1.2k
Forks
89
Avg merge
18h 46m
Merged PRs (30d)
24

Description

Clear and concise description of the problem

I'm aware that DevTools show compressed size sometimes, but while inspecting the bundle that size is ALL I'm interested in!

I don't want to see the size that's on the disk. That may be useful for performance purposes, I don't know, but I'm not there yet. For now I'd like to see what's taking most of my transferred file size.

Suggested solution

Either:

  • as a global setting in Settings, as a checkbox, which would turn off all before and after compression displays of size and only show after
  • or as a checkbox in Treemap, Sunburst and Flamegraph, to toggle back and forth between compressed and uncompressed
Alternative

No response

Additional context

No response

Validations

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how compressed and uncompressed sizes are displayed in Treemap, Sunburst, and Flamegraph, then check how global settings are organized. Decide whether the toggle belongs in Settings or each visualization, and consider the work done when the selected mode consistently controls the displayed sizes across all named views.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.