Skip to content

Conversation

@mir-am
Copy link
Contributor

@mir-am mir-am commented Sep 15, 2022

Description

This is a small PR that makes the following changes:

  • creates a new method asURIHierarchyParallel() to create Fasten URIs in parallel. The speed up is 2 times, especially for large graphs.
  • Make 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.

@mir-am mir-am added the enhancement New feature or request label Sep 15, 2022
@mir-am mir-am self-assigned this Sep 15, 2022
@mir-am mir-am requested a review from mehdikeshani September 15, 2022 11:32
@mir-am mir-am requested a review from mehdikeshani September 15, 2022 13:52
@mir-am
Copy link
Contributor Author

mir-am commented Sep 21, 2022

@ashkboos, thanks a lot, Mehdi, for the contribution and help with the optimization of OPAL data structures.

@mir-am
Copy link
Contributor Author

mir-am commented Oct 1, 2022

@ashkboos
What is the verdict on this PR? Shall we merge it into develop?

@mehdikeshani
Copy link

@ashkboos What is the verdict on this PR? Shall we merge it into develop?

To me it's fine. Unless Sebastian also wants to take a look.

@mir-am mir-am requested a review from proksch October 1, 2022 12:38
@mir-am
Copy link
Contributor Author

mir-am commented Oct 1, 2022

I would like to request a review from @proksch as he recently refactored OPALPartialCallGraphConstructor.

@MagielBruntink
Copy link
Member

What is the status of this PR? Do we still want to merge it?

@mir-am
Copy link
Contributor Author

mir-am commented Feb 21, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants