Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

HV-2135 Better leverage the node/path mutability #1696

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

Merged

Conversation

Copy link
Member

@marko-bekhta marko-bekhta commented Sep 1, 2025

https://hibernate.atlassian.net/browse/HV-2135


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on licensing, please check here.


Copy link
Member

gsmet commented Sep 1, 2025

You getting it even faster?

Copy link
Member Author

You getting it even faster?

🙈 🫣 I was trying to figure out why the predefined scope case can still be slower then the regular case... and while at it found these few things. But still unsure what's causing the occasional slowdown 😕

Copy link
Member Author

Current patch:

Benchmark Mode Cnt Score Error Units
o.h.v.p.cascaded.CascadedWithLotsOfItemsAndCyclesValidation.testCascadedValidationWithLotsOfItems thrpt 15 22475.892 ± 303.829 ops/s
o.h.v.p.cascaded.PredefinedScopeCascadedWithLotsOfItemsAndCyclesValidation.testCascadedValidationWithLotsOfItems thrpt 15 24050.667 ± 524.209 ops/s
o.h.v.p.simple.SimpleSingleElementValidation.invalidObjectValidation thrpt 15 12376.592 ± 102.328 ops/ms
o.h.v.p.simple.SimpleSingleElementValidation.validObjectValidation thrpt 15 53082.121 ± 315.109 ops/ms

9.1.0.Alpha1

Benchmark Mode Cnt Score Error Units
o.h.v.p.cascaded.CascadedWithLotsOfItemsAndCyclesValidation.testCascadedValidationWithLotsOfItems thrpt 20 20107.524 ± 33.186 ops/s
o.h.v.p.cascaded.PredefinedScopeCascadedWithLotsOfItemsAndCyclesValidation.testCascadedValidationWithLotsOfItems thrpt 20 17983.391 ± 28.931 ops/s
o.h.v.p.simple.SimpleSingleElementValidation.invalidObjectValidation thrpt 20 10799.710 ± 24.398 ops/ms
o.h.v.p.simple.SimpleSingleElementValidation.validObjectValidation thrpt 20 34603.538 ± 86.836 ops/ms

9.1.0.Alpha1 (cascading no cycle -- no noticable difference)

o.h.v.p.cascaded.PredefinedScopeCascadedWithLotsOfItemsValidation.testPredefinedScopeCascadedValidationWithLotsOfItems thrpt 20 24261.606 ± 50.214 ops/s
o.h.v.p.cascaded.CascadedWithLotsOfItemsValidation.testCascadedValidationWithLotsOfItems thrpt 20 24203.927 ± 40.968 ops/s

9.0

Benchmark Mode Cnt Score Error Units
o.h.v.p.cascaded.CascadedWithLotsOfItemsAndCyclesValidation.testCascadedValidationWithLotsOfItems thrpt 15 7475.159 ± 120.414 ops/s
o.h.v.p.cascaded.PredefinedScopeCascadedWithLotsOfItemsAndCyclesValidation.testCascadedValidationWithLotsOfItems thrpt 15 7506.502 ± 89.779 ops/s
o.h.v.p.simple.SimpleSingleElementValidation.invalidObjectValidation thrpt 15 6647.196 ± 72.001 ops/ms
o.h.v.p.simple.SimpleSingleElementValidation.validObjectValidation thrpt 15 17785.621 ± 583.771 ops/ms

@marko-bekhta marko-bekhta merged commit 3068d37 into hibernate:main Sep 2, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /