Commit 136c8b5
committed
Data flow: Improve
Before:
```
[2021-08-25 09:56:29] (1395s) Tuple counts for DataFlowImpl2::Stage3::callMayFlowThroughFwd#ff/2@111fb3:
15495496 ~5% {5} r1 = SCAN DataFlowImpl2::Stage3::fwdFlowOutFromArg#fffff#reorder_0_2_4_1_3 OUTPUT In.3, In.4, In.2 'config', In.0 'call', In.1
1450611958 ~6335% {5} r2 = JOIN r1 WITH DataFlowImpl2::Stage3::fwdFlow#fffff_03412#join_rhs ON FIRST 3 OUTPUT Lhs.3 'call', Lhs.4, Lhs.2 'config', Rhs.3, Rhs.4
7043648 ~20415% {2} r3 = JOIN r2 WITH DataFlowImpl2::Stage3::fwdFlowIsEntered#fffff#reorder_0_3_4_1_2 ON FIRST 5 OUTPUT Lhs.0 'call', Lhs.2 'config'
return r3
```
After:
```
[2021-08-25 10:57:02] (2652s) Tuple counts for DataFlowImpl2::Stage3::callMayFlowThroughFwd#ff/2@d3e27b:
15495496 ~0% {6} r1 = SCAN DataFlowImpl2::Stage3::fwdFlowOutFromArg#fffff#reorder_0_2_4_1_3 OUTPUT In.0 'call', In.1, In.2 'config', In.3, In.4, In.2 'config'
9236888 ~22% {7} r2 = JOIN r1 WITH DataFlowImpl2::Stage3::fwdFlowIsEntered#fffff#reorder_0_3_4_1_2 ON FIRST 3 OUTPUT Lhs.3, Rhs.3, Rhs.4, Lhs.4, Lhs.5, Lhs.0 'call', Lhs.2 'config'
7043648 ~20415% {2} r3 = JOIN r2 WITH DataFlowImpl2::Stage3::fwdFlow#fffff ON FIRST 5 OUTPUT Lhs.5 'call', Lhs.6 'config'
return r3
```callMayFlowThroughFwd join order1 parent 7fc536d commit 136c8b5
File tree
1 file changed
+9
-12
lines changed- csharp/ql/lib/semmle/code/csharp/dataflow/internal
1 file changed
+9
-12
lines changedLines changed: 9 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1170 | 1170 | | |
1171 | 1171 | | |
1172 | 1172 | | |
1173 | | - | |
1174 | | - | |
| 1173 | + | |
| 1174 | + | |
1175 | 1175 | | |
1176 | | - | |
1177 | | - | |
| 1176 | + | |
1178 | 1177 | | |
1179 | 1178 | | |
1180 | 1179 | | |
| |||
1858 | 1857 | | |
1859 | 1858 | | |
1860 | 1859 | | |
1861 | | - | |
1862 | | - | |
| 1860 | + | |
| 1861 | + | |
1863 | 1862 | | |
1864 | | - | |
1865 | | - | |
| 1863 | + | |
1866 | 1864 | | |
1867 | 1865 | | |
1868 | 1866 | | |
| |||
2616 | 2614 | | |
2617 | 2615 | | |
2618 | 2616 | | |
2619 | | - | |
2620 | | - | |
| 2617 | + | |
| 2618 | + | |
2621 | 2619 | | |
2622 | | - | |
2623 | | - | |
| 2620 | + | |
2624 | 2621 | | |
2625 | 2622 | | |
2626 | 2623 | | |
| |||
0 commit comments