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 #713

Conversation

yacovm
Copy link
Contributor

@yacovm yacovm commented Feb 22, 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 [email protected]

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 <[email protected]>
@yacovm yacovm requested a review from a team as a code owner February 22, 2020 09:13
@yacovm yacovm merged commit a0b7584 into hyperledger:release-1.4 Feb 22, 2020
C0rWin pushed a commit to C0rWin/fabric that referenced this pull request Sep 15, 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 <[email protected]>
@yacovm yacovm deleted the no_reflection_equal_princpal_sets-release-1.4 branch February 9, 2021 10:38
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