(self)
| 968 | go() |
| 969 | |
| 970 | def test_a_to_d(self): |
| 971 | A, D = self.classes("A", "D") |
| 972 | |
| 973 | # the join condition between A and D uses a secondary selectable with |
| 974 | # overlap so incurs aliasing, which is expensive, there is also a check |
| 975 | # that determines that this overlap exists which is not currently |
| 976 | # cached |
| 977 | @profiling.function_call_count(times=50, warmup=1) |
| 978 | def go(): |
| 979 | orm_join(A, D, A.d) |
| 980 | |
| 981 | go() |
| 982 | |
| 983 | def test_a_to_d_aliased(self): |
| 984 | A, D = self.classes("A", "D") |