Skip to content

CE-3155: Improve record listing speed

Imre Toth requested to merge CE-3155_Improve_record_listing_speed into develop

Fetching Records from CF is around 1 sec, but the BE responded like in 2 sec with the list Removed try-catch block, which usually makes the code run a bit slower - now BE doesn't throw EntityNotFound if IOC can not be found by name

For this I transformed the DB query to use streams - that will return Optional type Investigated if we should use NULL instead of Optional, and the following query speeds results are with empty DB (no IOC registered) in sec:

"Original":

1.9

1.6

3.4

1.4

1.3

With Optional:

1.2

0.7

0.8

0.9

0.7

Using NULL:

1.5

0.8

0.9

0.8

0.8

Closes CE-3155

Edited by Imre Toth

Merge request reports