You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RPP: Support columns, pretty'd sources in Source's panel profile data
The profile data decorations in the Sources panel now apply to the '-'
lines in Sources when a minified file is pretty-printed, and correctly
for minified + source map'd scripts.
The Sources panel displays profile data ("x ms") in the line gutters
when a performance trace is active. However, we did not handle common
edge cases involving pretty-formatted files (the `{}` button), nor did
we handle source mapped content well (we totally ignored column
information, and since most generated code is minified across few lines,
profile data would be displayed far too coarsely).
Now, we utilize the pretty -> original line mapping to create accurate
profile data for the formatted code; and further we consider the column
when mapping the profile data to a UILocation.
Bug: 406012441
Change-Id: I84278eec4e778c62f8568e2c96353fa98be92b32
Bypass-Check-License: test fixture cannot have the license without breaking the test. (because isMinified)
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6588993
Commit-Queue: Paul Irish <[email protected]>
Reviewed-by: Connor Clark <[email protected]>
0 commit comments