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

timeSpentRenderingLastRequest does not work with Vaadin 15+ #1316

Closed
Artur- opened this issue Feb 8, 2022 · 0 comments · Fixed by #1715
Closed

timeSpentRenderingLastRequest does not work with Vaadin 15+ #1316

Artur- opened this issue Feb 8, 2022 · 0 comments · Fixed by #1715
Labels

Comments

@Artur-
Copy link
Member

Artur- commented Feb 8, 2022

Calling timeSpentRenderingLastRequest always throws Performance data is not available in production mode, even in development mode.

This is because

+ " if (!window.Vaadin.Flow.clients[client].getProfilingData) {"
finds a window.Vaadin.Flow.clients.TypeScript which does not contain anything else than isActive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants