-
Notifications
You must be signed in to change notification settings - Fork 28
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
Optimization to building OPAL Class Hierarchies #490
base: develop
Are you sure you want to change the base?
Conversation
…tial call graph construction
...avacg-opal/src/main/java/eu/fasten/analyzer/javacgopal/data/analysis/OPALClassHierarchy.java
Outdated
Show resolved
Hide resolved
@ashkboos, thanks a lot, Mehdi, for the contribution and help with the optimization of OPAL data structures. |
@ashkboos |
To me it's fine. Unless Sebastian also wants to take a look. |
I would like to request a review from @proksch as he recently refactored |
What is the status of this PR? Do we still want to merge it? |
Hi Magiel,
We can still merge this PR, though it's not necessary. We made some
improvements to class hierarchy construction to speed up experiments for
research work.
…On Tue, Feb 21, 2023, 11:58 MagielBruntink ***@***.***> wrote:
What is the status of this PR? Do we still want to merge it?
—
Reply to this email directly, view it on GitHub
<#490 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACEGEBVZHKWOVP76NG3ZUODWYR7UZANCNFSM6AAAAAAQNJRZHY>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
Description
This is a small PR that makes the following changes:
asURIHierarchyParallel()
to create Fasten URIs in parallel. The speed up is 2 times, especially for large graphs.createGraphWithExternalCHA
faster by using parallel stream.Overall, the speed up is up to 2-3x times.
Motivation and context
When creating (very large) partial call graphs, building FURI hierarchies can be very time-consuming if it's done in single-thread mode.
Testing
Unit tests pass for the OPAL plugin.