Skip to content

Data flow: Further pruning based on read column of nodeCand2() predicate#3780

Closed
hvitved wants to merge 3 commits intogithub:mainfrom
hvitved:dataflow/node-cand2-pruning
Closed

Data flow: Further pruning based on read column of nodeCand2() predicate#3780
hvitved wants to merge 3 commits intogithub:mainfrom
hvitved:dataflow/node-cand2-pruning

Conversation

@hvitved
Copy link
Copy Markdown
Contributor

@hvitved hvitved commented Jun 24, 2020

We were missing out on additional pruning in flowCandFwd(), because we ignored the read column of nodeCand2().

C# tuple counts

Ran this on mono:

  fwd1 nc1 fwd2 nc2 ff1 fb1 ff2 fb2 f fwd3 lbs nc3 fwd3t nc3t ccfwd cc fwd4 nc4 fwd4t nc4t pn
Before 3163944 1830102 928649 110442 32513 24077 11395 1448 1159 39147 79804 23209 67287 23658 1004 77 22041 21967 23001 22032 28565
After 3163944 1830102 928649 110442 32513 24077 11395 1448 1159 38547 93237 23139 64595 23556 975 77 22020 21946 22972 22009 28536
Increase 0% 0% 0% 0% 0% 0% 0% 0% 0% -2% 17% 0% -4% 0% -3% 0% 0% 0% 0% 0% 0%

Java tuple counts

Ran this on JDK:

  fwd1 nc1 fwd2 nc2 ff1 fb1 ff2 fb2 f fwd3 lbs nc3 fwd3t nc3t ccfwd cc fwd4 nc4 fwd4t nc4t pn
Before 2604206 1555243 920416 565520 30417 22434 14298 8872 7884 208534 813190 127783 976581 346054 11750 3955 113281 108944 403062 322831 313277
After 2604206 1555243 920416 565520 30417 22434 14298 8872 7884 195284 846259 125882 851799 341831 10322 3946 111649 107336 395717 317363 307376
Increase 0% 0% 0% 0% 0% 0% 0% 0% 0% -6% 4% -1% -13% -1% -12% 0% -1% -1% -2% -2% -2%

Differences jobs:

@hvitved hvitved marked this pull request as ready for review June 24, 2020 10:36
@hvitved hvitved requested review from a team as code owners June 24, 2020 10:36
@hvitved hvitved force-pushed the dataflow/node-cand2-pruning branch from 591c232 to 13cb63c Compare July 31, 2020 10:20
@hvitved hvitved requested a review from a team as a code owner July 31, 2020 10:20
@hvitved
Copy link
Copy Markdown
Contributor Author

hvitved commented Jul 31, 2020

Rebased to resolve merge conflict, and updated difference job links in the PR description.

@jbj
Copy link
Copy Markdown
Contributor

jbj commented Aug 4, 2020

No objections from me. The 7% time increase on torvalds/linux C/C++ seems to be just noise: the two queries with the biggest increase don't use data flow.

@adityasharad adityasharad changed the base branch from master to main August 14, 2020 18:34
@hvitved hvitved force-pushed the dataflow/node-cand2-pruning branch from 13cb63c to 1c0e23f Compare August 18, 2020 13:28
@hvitved
Copy link
Copy Markdown
Contributor Author

hvitved commented Aug 18, 2020

Rebased again. I have updated the PR description with new tuple counts and links to new Differences jobs.

@hvitved hvitved force-pushed the dataflow/node-cand2-pruning branch from 1c0e23f to 000fa01 Compare August 18, 2020 13:55
@hvitved hvitved added the Python label Aug 18, 2020
@hvitved hvitved force-pushed the dataflow/node-cand2-pruning branch from 000fa01 to 7714953 Compare August 19, 2020 13:53
@hvitved hvitved force-pushed the dataflow/node-cand2-pruning branch from 7714953 to 5ca2f73 Compare October 15, 2020 11:55
@hvitved hvitved closed this Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants