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

Serialization performance regression in Olingo 5

    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

            People

              Unassigned Unassigned
              falbert Florent Albert
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: