Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1624

Serialization performance regression in Olingo 5

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • (Java) V4 4.10.0, Version (Java) V4 5.0.0
    • None
    • odata4-commons
    • 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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            falbert Florent Albert

            Dates

              Created:
              Updated:

              Slack

                Issue deployment