-
Notifications
You must be signed in to change notification settings - Fork 40
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
DROOLS-7543 : benchmark to test session restore after failover #266
Conversation
@nprentza Could you please confirm if the latest main + this PR can compile? I got
I believe it was caused by a previous commit (#263), but you can fix it in this PR by removing the unnecessary |
@Benchmark | ||
public long test() { | ||
kieSession = restoreSession(); | ||
System.out.println("restored : facts size = " + kieSession.getFactHandles().size()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please comment out this line (useful while developing though), because this part is measured.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tkobayas thanks, I will comment out the line.
@tkobayas I fixed this error locally but didn't include it to the PR. I will commit and include the fix to the PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! LGTM
DROOLS-7543