Skip to content

Conversation

aschackmull
Copy link
Contributor

This improves performance of two predicates in TypeFlow.

Observed timings on a large snapshot (9 MLoc):
Before:

TypeFlow::downcastSuccessor#ff ............. 2m21s
TypeFlow::upcastEnhancedForStmt#ff ......... 1m52s

After:

TypeFlow::downcastSuccessor#ff ............. 2.9s
TypeFlow::downcastSuccessorAux#fffff ....... 147ms
TypeFlow::upcastEnhancedForStmtAux#ffff .... 83ms
TypeFlow::upcastEnhancedForStmt#ff ......... 35ms

@aschackmull aschackmull requested a review from a team as a code owner September 27, 2018 13:44
@semmle-qlci semmle-qlci merged commit 89183bd into github:master Sep 29, 2018
@aschackmull aschackmull deleted the java/typeflow-perf branch October 1, 2018 08:30
aibaars pushed a commit that referenced this pull request Oct 14, 2021
MathiasVP pushed a commit to MathiasVP/ql that referenced this pull request Aug 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants