Add performance tests for saveListElements 27/136927/1
authordanielhanrahan <daniel.hanrahan@est.tech>
Thu, 4 Jan 2024 13:26:34 +0000 (13:26 +0000)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Thu, 4 Jan 2024 20:50:23 +0000 (20:50 +0000)
commit52739eaaf797d9f800a55c2e77982dc8be6661c6
tree826141f9b0efc65ad7366562ca891ac1194d725f
parent9c69e994ba90e0e6789cb28c3cdb274c55135de1
Add performance tests for saveListElements

Add performance tests for CpsDataService methods:
- saveListElements
- saveListElementsBatch

Results show that saveListElementsBatch (used only by NCMP for
saving CM-handles) has extremely poor performance compared to
saveListElements, which is over 4x faster and uses less memory.

Issue-ID: CPS-2019
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I89d634c69b3790f1e1a79e2ff5392db5a45c761b
integration-test/src/test/groovy/org/onap/cps/integration/performance/cps/WritePerfTest.groovy