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

Exception handling is slow in element ReferenceElement creation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Implemented
    • 3.3.1
    • 3.3.2
    • structure
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: