Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracy panel lazy loading #530

Open
janbarasek opened this issue Jan 15, 2022 · 0 comments
Open

Tracy panel lazy loading #530

janbarasek opened this issue Jan 15, 2022 · 0 comments

Comments

@janbarasek
Copy link
Contributor

Hello,

As a package developer, I like to provide debug information to developers via the Tracy panel. However, getting some data takes a long time and is not necessary to do in every request (for example, mapping all entities in Doctrine).

I'd like to introduce the concept of lazy loading of panels in Tracy, which will compile their content after the panel is clicked.

I've been thinking about the concept of builds, and lazy loading should only work for panels that work in isolation from the current request and can always be retrieved for their content. For example, the panel would be called as a DIC service and so on (I would be very happy for more ideas on how this could work).

Also, panels should natively be able to be set to not be rendered during ajax. This then delays the loading of the whole page, even though I don't need the panel most of the time.

Thank you.

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

No branches or pull requests

1 participant