Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
(Java) V4 4.10.0, Version (Java) V4 5.0.0
-
None
-
None
Description
Olingo 4.10 (via OLINGO-1167) introduced a performance regression. Commit https://github.com/apache/olingo-odata4/commit/ce5028d24f220ad0f60b5ac023c10e7b88b7c806 now makes resolution of EdmPrimitiveTypeKind create and suppress an exception for any non primitive type.
Construction in EdmTypeInfo in 4.10 and 5.0 is very expensive and causes severe performance degradation on large datasets. For the same dataset, ODataJsonSerializer.getEdmProperty() spends <200 ms in Olingo 4.9 and ~3000 ms in Olingo 5 (15x slower).
This same issue was originally reported in in Olingo 4.2 and fixed in 4.7 (via OLINGO-1357 and https://github.com/apache/olingo-odata4/pull/51/files).
Attachments
Attachments
Issue Links
- is caused by
-
OLINGO-1167 Pojogen fails when resource has same name as primitive type
- Closed
- is related to
-
OLINGO-1357 Construction of EdmTypeKind very expensive
- Resolved