We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Jmix version: 2.3.4, 2.4.2.
Lazy loading mechanism spends significant portion of time inside of Spring internals, not in the JPA / JDBC / network I/O code.
For me: it took 9467 ms.
CPU sampling report shows that around 50% of sampled time is spent inside of Spring classes. See screenshot.
In total it is 4603 ms = 48% of the total method execution.
It looks inefficient to spend so much CPU time there. And it is a real CPU activity, not sleeping waiting for the network I/O.
Majority of time should be spent in awaiting for database response.
Modified petclinic sample:
jmix-petclinic.zip
Launch test class: io.jmix.petclinic.LazyLoadingPerformanceTest
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
Jmix version: 2.3.4, 2.4.2.
Bug Description
Lazy loading mechanism spends significant portion of time inside of Spring internals, not in the JPA / JDBC / network I/O code.
Steps To Reproduce
20 Owners -> 20 Pets each -> 20 Visits each
For me: it took 9467 ms.
Current Behavior
CPU sampling report shows that around 50% of sampled time is spent inside of Spring classes.
See screenshot.
In total it is 4603 ms = 48% of the total method execution.
It looks inefficient to spend so much CPU time there.
And it is a real CPU activity, not sleeping waiting for the network I/O.
Expected Behavior
Majority of time should be spent in awaiting for database response.
Sample Project
Modified petclinic sample:
jmix-petclinic.zip
Launch test class: io.jmix.petclinic.LazyLoadingPerformanceTest
The text was updated successfully, but these errors were encountered: