forked from alibaba/GraphScope
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(interactive): support a general
Intersect
implementation in GIE…
… Runtime (alibaba#3689) <!-- Thanks for your contribution! please review https://github.com/alibaba/GraphScope/blob/main/CONTRIBUTING.md before opening an issue. --> ## What do these changes do? <!-- Please give a short brief about these changes. --> As titled. This pr mainly includes: 1. Refactor the convert logic of `Intersect` in `GraphRelToProtoConverter` in Compiler 2. Refactor the parsing and processing logic of `Intersect` in assembly in Runtime 3. Support a more general `Intersect` that can preserve the edges during intersection, in Runtime 4. Add a micro benchmark framework, and testing for general_intersection v.s. optimized_intersection. The results shows that, on ldbc dataset (sf=1), to find matches for a triangle (a,b,c knows each other), general_intersection's time cost is about 1.7\times of optimized_intersection's, as the general_intersection further preserves all matched edges during the intersection computation. ## Related issue number <!-- Are there any issues opened that will be resolved by merging this change? --> Fixes alibaba#3685 alibaba#3745 --------- Co-authored-by: xiao.zl <[email protected]> Co-authored-by: Longbin Lai <[email protected]>
- Loading branch information
1 parent
fda099f
commit 348a2b7
Showing
20 changed files
with
3,315 additions
and
316 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.