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

serious performance issue. #165

Closed
bsutton opened this issue Mar 7, 2019 · 2 comments
Closed

serious performance issue. #165

bsutton opened this issue Mar 7, 2019 · 2 comments
Labels
bug Something isn't working flow

Comments

@bsutton
Copy link

bsutton commented Mar 7, 2019

I'm building a web component to set a companies office hours.

The component uses use a pair of vaadin-time-picker components for each day, so I have a total of 14 time pickers on the page.

My java class (HoursForDays.java) binds to the pickers via the @id annotation.

If I remove the @id bindings the page loads in about 350ms (using chrome performance tool).

If I add the @id bindings back in then the load time (to first render) blows out to 6 seconds.

If I replace the time-pickers with combo boxes (just as an experiment) then even with the @id bindings the page loads in under 1 second.

There appears to be a significant problem with binding the vaadin-time-picker to a java class.

I've attached the relevant files.

sample.zip

@ThijsMaenhout
Copy link

@vaadin-bot vaadin-bot added bug Something isn't working flow labels Oct 6, 2020
@vaadin-bot vaadin-bot transferred this issue from vaadin/vaadin-time-picker-flow Oct 6, 2020
@web-padawan
Copy link
Member

Should be fixed by #111. Please submit another issue if you still experience performance problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working flow
Projects
None yet
Development

No branches or pull requests

4 participants