-
Notifications
You must be signed in to change notification settings - Fork 676
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
Fixed incorrect docs PersistentPropertyPath and optimized sublist #2782
base: main
Are you sure you want to change the base?
Fixed incorrect docs PersistentPropertyPath and optimized sublist #2782
Conversation
Mixing up different things in a single PR makes reviewing them pretty cumbersome because we might decide we like one change but not the other. Can you elaborate what you mean by "optimize"? What exactly? For whom? You also introduce new API, without a clear reason why that's needed. |
Let me explain then one by one
|
Thanks for the detailed explanation. Have you run any JMH benchmarks to measure the difference in performance and memory consumption. While I totally see that we can just use |
About JMH bnchmarks - I will run against the Regarding
I have just changed it to But in any case, I perfectly agree that we should run JMH benchmark. Unfortunately I have not found infrastructure for this in |
We keep a loose collection of benchmarks here. Would be nice if you just some in a PR over there so that we can run those against the current codebase and your suggestions to see what difference it makes. Note that right now, I'd only be interested in the performance of |
1cc7616
to
c197dba
Compare
c197dba
to
d9a14b0
Compare
Hello @odrotbohm ! It would be great if you will try to benchmark on your hardware on your side. It is pretty simple, you can do I have current version build and I switched to my branch, build spring-data-commons locally from my branch put the version into the I have received the following results. As you can see, there is almost no difference. So, take a look at PR again please, and let's decide what to do. I think I can just leave the documentation changes. Thanks in advance! |
fe5e80e
to
98f20a4
Compare
0122d1b
to
5070a0f
Compare
Fixed incorrect docs in
PersistentPropertyPath#isBasePathOf
and optimizedgetExtensionForBaseOf
sublisting