Skip to content

Conversation

CrabSAMA
Copy link
Contributor

Screenshot:

image

about #33

I try to make flamegraph about plugin, it will display time step by step until each module(resolve/load/transform -> module type -> module)

Is this what flamegraph wanted?

BTW, I found flamegraph time is not match with PluginDetailLoad.vue hookDuration, because flamegraph time is only show each module individual time used, hookDuration calculate by whole timestamp, this is as expected.

@CrabSAMA
Copy link
Contributor Author

#33 (comment)

image

For idea 3, I try to add some information in hover content, but I think we need more information, such as plugin cpu/memory usage, but this information need vite/rolldown to provide in debug log, maybe we need to new issue of vite/rolldown to feature request 😂?

@webfansplz webfansplz self-assigned this Aug 15, 2025
@webfansplz webfansplz force-pushed the feat/plugin-flamegraph branch from 8973ff9 to fa267ed Compare August 16, 2025 06:34
@webfansplz webfansplz force-pushed the feat/plugin-flamegraph branch from fa267ed to 075cd09 Compare August 16, 2025 06:48
@webfansplz webfansplz mentioned this pull request Aug 14, 2025
14 tasks
@webfansplz webfansplz merged commit 713033a into vitejs:main Aug 16, 2025
4 checks passed
@CrabSAMA CrabSAMA deleted the feat/plugin-flamegraph branch August 28, 2025 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants