Hey, I stumbled upon this tool on your Twitter, and it is indeed very fast and nice to navigate Chrome profiles with it.
One issue I ran into is that when using vite (which pre-bundles JS dependencies), the output looks like this – instead of showing which source file the code comes from, it's just displayed as coming from the prebundled chunks:
While the function names are readable, where the methods are coming from is all just from the chunks that vite has generated.
I'm not entirely sure but I believe all that data (which files these methods actually come from) should be part of the source maps vite already generates.
Would it be possible to show better file information in the trace based on that? Or is that an issue with how chrome creates the trace file?
Hey, I stumbled upon this tool on your Twitter, and it is indeed very fast and nice to navigate Chrome profiles with it.
One issue I ran into is that when using vite (which pre-bundles JS dependencies), the output looks like this – instead of showing which source file the code comes from, it's just displayed as coming from the prebundled chunks:
While the function names are readable, where the methods are coming from is all just from the chunks that vite has generated.
I'm not entirely sure but I believe all that data (which files these methods actually come from) should be part of the source maps vite already generates.
Would it be possible to show better file information in the trace based on that? Or is that an issue with how chrome creates the trace file?