Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Vaadin 8 Grid is 5 times slower than Vaadin 7 to render columns

Thomas Neerup
6 years ago Mar 07, 2017 2:05pm
Pekka Hyvönen
6 years ago Mar 07, 2017 2:23pm
Steve Demy
6 years ago Mar 15, 2017 6:43pm
Peter Hansson
6 years ago Apr 01, 2017 7:07am

Believe it was fixed in 8.0.3 onwards. Would be interested to know if anyone still sees such performance degration compared to v7.

Steve Demy
6 years ago Apr 01, 2017 7:24am
Steve Demy
5 years ago Apr 08, 2017 11:29pm
T Gergely
5 years ago Jun 13, 2017 1:06pm
Teemu Suo-Anttila
5 years ago Jul 19, 2017 1:02pm
Steve Demy
5 years ago Jul 20, 2017 8:34am
Steve Demy
5 years ago Jul 25, 2017 10:20pm
Ádám Ács
5 years ago Aug 30, 2017 7:46am

+1 on this, the loading time for a 50 column grid is huge compared to v7.

Bruno Medeiros
5 years ago Sep 26, 2017 2:12am

I'm still experiencing very slow rendering in TreeGrid and Grid in Vaadin 8.1.4.

> Of the processing time, the server related calculations seem to take about 50mS and Chrome "animation" takes the rest.  The time is mostly consumed by an event that Chrome describes as a forced reflow, which is generated as each cell is styled.

This describes exactly my experience. Once rendered, the Grid performs great, but it's taking seconds to render.

Is there any data I can provide to help finding the cause for that?

Michael Benz
5 years ago Jan 26, 2018 12:37pm

The first issue for this performance problem has already been closed and another one (#10232) can be found on GitHub to focus attention:
https://github.com/vaadin/framework/issues/8678 (already closed)
https://github.com/vaadin/framework/issues/10232 (still open)

If you are also affected and have not noticed any improvements please help out and spread the word.

We are also affected by the slow first time rendering of the Grid since we switched to Vaadin 8.x
Some issues have been addressed over time but the overall time it takes to render the Grid for the first time has not improved a lot during the 8.1.x releases. Trying to stay up to date with the current Vaadin releases we have followed 8.1.x from the early beta phase until recently switching to the 8.2.1 release because the issue (#10465) of increased rendering time with initially hidden columns has been fixed.

Still the rendering times of the Grid is not in a range where a user would tolerate the waiting time with more than 2 seconds even in the fastest browser for Grid rendering which is currently Chrome. Rendering the Grid on Firefox takes longer and Internet Explorer is even worse than Firefox.

All samples below take the time to render the Vaadin 8.2.1 Grid with 100 fixed width columns and 1000 rows using the normal Valo theme in a Vaadin sample application just showing the Grid using a native Windows 7 64 Bit environment with 64 Bit Versions of the browsers.

Chrome 58: 2869 milliseconds
Firefox 57: 6507 milliseconds
Internet Explorer 11: 10470 milliseconds

If someone wants to replicate the findings the small test project is available on GitHub: https://github.com/FOCONIS/slow-grid-sample

Till Leeke
5 years ago Mar 08, 2018 9:52am