Improve performance of updateDataLeaves 52/135052/1
authordanielhanrahan <daniel.hanrahan@est.tech>
Wed, 21 Jun 2023 12:53:32 +0000 (13:53 +0100)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Wed, 21 Jun 2023 13:48:36 +0000 (14:48 +0100)
Avoid fetching descendants during batchUpdateDataLeaves,
as descendants are not needed:
- Remove prefetch descendants step from getFragmentEntities;
- Explicitly prefetch descendants in operations requiring it;
- Update performance tests (5x faster for batch update).

Issue-ID: CPS-1675
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I7442a6f799cc0803b3a78f09d1ee53377f24b0b7


No differences found