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
This PR was squashed before being merged into the 7.1 branch.
Discussion
----------
[WebProfilerBundle] Improve performance
| Q | A
| ------------- | ---
| Branch? | 7.1
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | -
| License | MIT
This PR tries to solve the following problem:
When clicking on panels like `Logs` or `Doctrine`, the page contents take some time to be ready ... and the JavaScript code that runs to change/Add things to UI, produces visible jumps:
https://github.com/symfony/symfony/assets/73419/5c980dc3-796b-4230-af9a-d63dfacb5240
-----
I debugged this behavior and the browser shows a "Long Task" warning message but not many other details:

I followed Google's recommendations: https://web.dev/articles/optimize-long-tasks and split the `SymfonyProfiler` tasks in two group: critical (menu and tabs) and normal (the rest of features).
That change in addition to `<meta name="view-transition" content="same-origin">` improves the situation, but it's still not perfect.
So, this PR is mostly **a call for help to JavaScript experts**. Please help us make the UI as fast as possible. Thanks!
Commits
-------
29a271b [WebProfilerBundle] Improve performance
0 commit comments