diff options
author | danielhanrahan <daniel.hanrahan@est.tech> | 2023-06-21 13:53:32 +0100 |
---|---|---|
committer | danielhanrahan <daniel.hanrahan@est.tech> | 2023-06-21 14:48:36 +0100 |
commit | 8d08b0eebb1e6f002c29bc88a70c2a60e26d56ed (patch) | |
tree | 485b9111fbbf9c11d77a0083f267a095576a9f7a /cps-events | |
parent | 765de151f09345e96fac3e3254071718289b8359 (diff) |
Improve performance of updateDataLeaves
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
Diffstat (limited to 'cps-events')
0 files changed, 0 insertions, 0 deletions