Poor Performance for Screen Load Time with High Number of Components

Hello,

I have an entity called ‘GenNode’ with about 150 fields.
I have many screens that are driven by fetch plans that use only a subset these fields.
Page load time for screens with about 10 components is good at about 1 second, however for screens with 100 components is bad at about 20 secs.
Load times do not seem to be impacted by the number of fields and referenced fields in the fetch plan.

See chart below.
image

Is there anything I can do to decrease the page load time?

Should I be using a tabbed component to reduce the number of components ?

Here is my setup:

Jmix version: 1.2
Web browser: Google Chrome 99.0.4844.74

I have a computer running a postgresql database and desktop computer for development and for running the spring boot server during development.

Database server computer specs:
CPU: Intel Xeon E5540 4Core 2.54-GHz (2009 Nahalem Gainstown Generation)
RAM: 24 GB ECC

Development/App server computer server specs:
CPU: Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz (2012 Sandy-Bridge Generation)
RAM: 24 GB ECC

Thank you,

Ok, I resolved the issue by putting the components in a tabSheet Container and limiting each tab to about 10 components.
https://docs.jmix.io/jmix/ui/vcl/containers/tab-sheet.html

Now the response is almost immediate.

1 Like

You can gain even more on loading data from the database if the structure of your data allows you to split loading to multiple data containers / loaders and use lazy tabs.