Skip to content

C++: data flow AlwaysTrueUponEntryLoop perf fix#598

Merged
geoffw0 merged 1 commit into
github:rc/1.19from
jbj:AlwaysTrueUponEntryLoop-perf
Dec 3, 2018
Merged

C++: data flow AlwaysTrueUponEntryLoop perf fix#598
geoffw0 merged 1 commit into
github:rc/1.19from
jbj:AlwaysTrueUponEntryLoop-perf

Conversation

@jbj

@jbj jbj commented Dec 1, 2018

Copy link
Copy Markdown
Contributor

The predicate AlwaysTrueUponEntryLoop.getARelevantVariable was very sensitive to join ordering, and with the 1.19 QL engine it got an unfortunate join order that made it explode on certain snapshots. With this change, it goes from taking minutes to taking less than a second on a libretro-uae snapshot.

This should fix the problem noticed by @geoffw0 in #403. Please test.

The predicate `AlwaysTrueUponEntryLoop.getARelevantVariable` was very
sensitive to join ordering, and with the 1.19 QL engine it got an
unfortunate join order that made it explode on certain snapshots. With
this change, it goes from taking minutes to taking less than a second on
a libretro-uae snapshot.
@jbj jbj added the C++ label Dec 1, 2018
@jbj jbj added this to the 1.19 milestone Dec 1, 2018
@jbj jbj requested a review from a team as a code owner December 1, 2018 09:16

@geoffw0 geoffw0 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (see my latest comment in #403).

@geoffw0 geoffw0 merged commit a3a5829 into github:rc/1.19 Dec 3, 2018
cklin pushed a commit that referenced this pull request May 23, 2022
Fixed broken/moved/redirected links.
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.

2 participants