Skip to content
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

Optimize inquire.IsSubset #710

Merged
merged 1 commit into from
Feb 22, 2020

Conversation

yacovm
Copy link
Contributor

@yacovm yacovm commented Feb 21, 2020

This change set makes IsSubset not use reflection
for faster processing.

FAB-17519 raised a concern that the peer's CPU spikes
during evaluation of lots of combinations, and the captured
CPU profile trace showed that reflection eats a lot of CPU cycles.

Change-Id: I5859d585ae76f1cab204daac7ea461a60fe8f33d
Signed-off-by: yacovm yacovm@il.ibm.com

This change set makes IsSubset not use reflection
for faster processing.

FAB-17519 raised a concern that the peer's CPU spikes
during evaluation of lots of combinations, and the captured
CPU profile trace showed that reflection eats a lot of CPU cycles.

Change-Id: I5859d585ae76f1cab204daac7ea461a60fe8f33d
Signed-off-by: yacovm <yacovm@il.ibm.com>
@yacovm yacovm requested a review from a team as a code owner February 21, 2020 18:54
@C0rWin C0rWin merged commit f8a1a0b into hyperledger:master Feb 22, 2020
@yacovm yacovm deleted the no_reflection_equal_princpal_sets branch February 22, 2020 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants