Apache Any23
  1. Apache Any23
  2. ANY23-75

Improve runtime of the Microdata extractor on documents with many relations.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.7.0
    • Component/s: None
    • Labels:
      None

      Description

      I've been running Any23 on a big web crawler dump. I found for certain documents with a lot of Microdata relations the method MicrodataParser.getItemProps() becomes very slow. As a result, processing one document can take several minutes. An example of a problematic page can be seen here: http://dreamtime.fftunes.com/

      I'll attach a patch for the method that greatly improves the performance of this method. I was wondering if someone could have a look at it and include it in the next release if possible.

        Issue Links

          Activity

          Lewis John McGibbney made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Michele Mostarda made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Michele Mostarda made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Michele Mostarda made changes -
          Assignee Michele Mostarda [ michele.mostarda ]
          Michele Mostarda made changes -
          Link This issue duplicates ANY23-77 [ ANY23-77 ]
          Michele Mostarda made changes -
          Priority Minor [ 4 ] Major [ 3 ]
          Lewis John McGibbney made changes -
          Fix Version/s 0.7.0 [ 12319884 ]
          Affects Version/s 0.7.0 [ 12319884 ]
          Timothy Potter made changes -
          Field Original Value New Value
          Attachment MicrodataParser.diff [ 12522439 ]
          Timothy Potter created issue -

            People

            • Assignee:
              Michele Mostarda
              Reporter:
              Timothy Potter
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development