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
~50X performance regression to Vaadin 8 when rendering buttons in vertical layout #5447
Comments
First, the snippet could be full, so one could just copy it to get started with testing this (just have the Also you're referring to both V10 and V13, so a bit confused which version it is.
Does that mean that the time is 0-1 seconds then ? Anyway, it might not just be about the So for a good comparison benchmark, one should test how much time it takes to render 1000 Meanwhile, a workaround for this issue without switching to |
Commenting out the problematic |
First of all, thank you all for looking at this issue. That's great! I also believe that this is a general issue affecting all new Vaadin 10+ components using Polymer and Shadow DOM. I also had a view containing ~ 100 FormLayouts and recognized a poor rendering performance too. So I switch to I'm using Vaadin 13. I'll try the NativeButton. |
So for
Another good discovery by @Artur- that should be documented here too that using Well have to go through and try to replace any usage of |
For the framework and the web component Java integrations, I could not find any usages of I could however find lots of usages of The form-layout issue is another thing; the responsive steps causing lots of redundant(?) recalculations. I'm pretty sure there will an issue in vaadin/vaadin-form-layout soon. Closing this issue as duplicate of vaadin/vaadin-button#128. Please comment here or open another issue if it is still valid after that one is fixed. |
Thank you very much! |
There seems to be a serious performance regression whend rendering simple components. Following code snippet takes over 15 seconds to to appear in browser on my local test setup. In Vaadin 8 a similar UI renders in a snap, with debug mode on: "Processing time was 246ms
". Neither JVM or browser uses excessive CPU. Heap with one page render: ~ 30 in V8, 36 in V10, didn't check actual session size.
During the load, there is only blank white screen shown (except in FF where browser says that a lot of energy is used, shall I stop execution)
Update: Tested that V13 is around 15 seconds faster if one switches to use NativeButton ("aka element) instead of vaadin-button based Button. So this is most likely a vaadin-button issue, more than Flow issue.
The text was updated successfully, but these errors were encountered: