Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
(Java) V4 4.6.0
-
None
Description
From the attached screenshot of the VisualVM sampler can be seen that construction of EdmTypeInfo instances is very expensive as EdmPrimitiveTypeKind.valueOf is used:
try { primitiveType = EdmPrimitiveTypeKind.valueOf(typeName); } catch (final IllegalArgumentException e) { primitiveType = null; }
The problem here is the exception that is thrown if the value cannot be found. Suggesting to use a static Map to cache values, PR will be provided.
Attachments
Attachments
Issue Links
- relates to
-
OLINGO-1624 Serialization performance regression in Olingo 5
- Open
- links to