AS on a go Slow
Posted: 23 Feb 2021 13:48
Hi Nick,
I've not pinned down the exact circumstances that lead to this, but I have found a sudden slowdown of AS when entering information on the Residence tab of the Baptism source.
The usual occurrence is than I have unchecked the Individual Residence & Birthplace and the Mother's Residence.
I then enter the Father's Residence Place then Address. The place usually auto-fills and is duplicated in all the other Place fields greyed out. When I then start typing the address (assuming no autofill) the characters lag significantly before appearing, and there is a lot of redrawing going on as it duplicates the address text as it is in each other address field. I can sometimes get several characters ahead of what is displayed.
It may be slowing due to the redraw of the three other addresses each character types, but it seems a lot slower than I'd expect, and I can see the fields being removed and put back each time, which may be having a greater impact on the performance.
Maybe skipping updating the unchecked place/address sets would avoid the issue as unchecking implies you don't have or don't want the data, so they should be blank when disabled. Alternatively, there is an unintended amount of work being done under the hood that is slowing it down.
PS: Just duplicated it by having a new Baptism without selecting anyone or entering anything and going straight to the Residence tab. I did as above and put in a Father's Place that was known, then started to type in the address, and it was lagging as described.
Anyway, it's not crashing but maybe something you want to checkout to see what's going on.
I've not pinned down the exact circumstances that lead to this, but I have found a sudden slowdown of AS when entering information on the Residence tab of the Baptism source.
The usual occurrence is than I have unchecked the Individual Residence & Birthplace and the Mother's Residence.
I then enter the Father's Residence Place then Address. The place usually auto-fills and is duplicated in all the other Place fields greyed out. When I then start typing the address (assuming no autofill) the characters lag significantly before appearing, and there is a lot of redrawing going on as it duplicates the address text as it is in each other address field. I can sometimes get several characters ahead of what is displayed.
It may be slowing due to the redraw of the three other addresses each character types, but it seems a lot slower than I'd expect, and I can see the fields being removed and put back each time, which may be having a greater impact on the performance.
Maybe skipping updating the unchecked place/address sets would avoid the issue as unchecking implies you don't have or don't want the data, so they should be blank when disabled. Alternatively, there is an unintended amount of work being done under the hood that is slowing it down.
PS: Just duplicated it by having a new Baptism without selecting anyone or entering anything and going straight to the Residence tab. I did as above and put in a Father's Place that was known, then started to type in the address, and it was lagging as described.
Anyway, it's not crashing but maybe something you want to checkout to see what's going on.