Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1871

Exception handling is slow in element ReferenceElement creation

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: 3.3.1
    • Fix Version/s: 3.3.2
    • Component/s: structure
    • Labels:
      None

      Description

      Following exception happen for each vertex in OLAP and takes ~10% of execution time.

      https://github.com/apache/tinkerpop/blob/master/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/reference/ReferenceElement.java#L48

      The exception is always thrown for ComputerGraph.ComputerAdjacentVertex class.

      So the check could be added to improve performance. This is 3.3.x issue only, 3.2 has no this problem.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                spmallette Stephen Mallette
                Reporter:
                artem.aliev Artem Aliev
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: