tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-2645) Reuse SAXParsers where possible
Date Mon, 21 May 2018 20:00:00 GMT

    [ https://issues.apache.org/jira/browse/TIKA-2645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16482976#comment-16482976
] 

Hudson commented on TIKA-2645:
------------------------------

SUCCESS: Integrated in Jenkins build Tika-trunk #1489 (See [https://builds.apache.org/job/Tika-trunk/1489/])
TIKA-2645 for tika-core (tallison: [https://github.com/apache/tika/commit/4b38d6228f4ba5ee912735dc692275499bbf45f6])
* (edit) tika-parsers/pom.xml
* (edit) tika-core/src/main/java/org/apache/tika/detect/XmlRootExtractor.java
* (edit) tika-core/src/main/java/org/apache/tika/utils/XMLReaderUtils.java
* (edit) tika-core/src/test/java/org/apache/tika/MultiThreadedTikaTest.java
* (edit) tika-parsers/src/test/java/org/apache/tika/detect/TestContainerAwareDetector.java
* (edit) tika-core/src/main/java/org/apache/tika/mime/MimeTypesReader.java
* (edit) tika-parsers/src/test/java/org/apache/tika/parser/chm/TestChmExtraction.java
* (edit) tika-core/src/main/java/org/apache/tika/parser/ParseContext.java
* (edit) tika-parsers/src/test/java/org/apache/tika/TestParsers.java
TIKA-2645 - use a pool for SAXParsers -- tika-parsers package (tallison: [https://github.com/apache/tika/commit/64bb30844e0caafff1c9ebac7c8b0c5b512ea81e])
* (edit) tika-parsers/src/main/java/org/apache/tika/parser/epub/EpubContentParser.java
* (edit) tika-core/src/main/java/org/apache/tika/parser/NetworkParser.java
* (edit) tika-parsers/src/main/java/org/apache/tika/parser/microsoft/ooxml/xwpf/XWPFStylesShim.java
* (edit) tika-core/src/main/java/org/apache/tika/parser/ParseContext.java
* (edit) tika-parsers/src/main/java/org/apache/tika/parser/microsoft/xml/AbstractXML2003Parser.java
* (edit) tika-parsers/src/main/java/org/apache/tika/parser/microsoft/ooxml/AbstractOOXMLExtractor.java
* (edit) tika-parsers/src/main/java/org/apache/tika/parser/microsoft/ooxml/XSSFExcelExtractorDecorator.java
* (edit) tika-parsers/src/test/java/org/apache/tika/detect/TestContainerAwareDetector.java
* (edit) tika-parsers/src/main/java/org/apache/tika/parser/iwork/IWorkPackageParser.java
* (edit) tika-parsers/src/main/java/org/apache/tika/parser/microsoft/ooxml/SXWPFWordExtractorDecorator.java
* (edit) tika-parsers/src/main/java/org/apache/tika/parser/microsoft/ooxml/xps/XPSExtractorDecorator.java
* (edit) tika-parsers/src/main/java/org/apache/tika/parser/microsoft/ooxml/SXSLFPowerPointExtractorDecorator.java
* (edit) tika-parsers/src/main/java/org/apache/tika/parser/xml/XMLParser.java
* (edit) tika-parsers/src/main/java/org/apache/tika/parser/microsoft/ooxml/xwpf/ml2006/Word2006MLParser.java
* (edit) tika-core/src/main/java/org/apache/tika/utils/XMLReaderUtils.java
* (edit) tika-parsers/src/main/java/org/apache/tika/parser/odf/OpenDocumentContentParser.java
* (edit) tika-parsers/src/main/java/org/apache/tika/parser/ocr/TesseractOCRParser.java
* (edit) tika-parsers/src/main/java/org/apache/tika/parser/dif/DIFParser.java
TIKA-2645 - use a pool for SAXParsers -- improve comments and avoid (tallison: [https://github.com/apache/tika/commit/8110645cc4b181fefd9663b1592213e79a298b0e])
* (edit) tika-parsers/src/main/java/org/apache/tika/parser/xml/XMLParser.java
* (edit) tika-core/src/main/java/org/apache/tika/parser/ParseContext.java
* (edit) tika-parsers/src/main/java/org/apache/tika/parser/microsoft/xml/AbstractXML2003Parser.java
* (edit) tika-parsers/src/main/java/org/apache/tika/parser/microsoft/ooxml/xwpf/ml2006/Word2006MLParser.java
* (edit) tika-core/src/main/java/org/apache/tika/utils/XMLReaderUtils.java
* (edit) tika-parsers/src/main/java/org/apache/tika/parser/dif/DIFParser.java
TIKA-2645 - remove commons math from dependencies (tallison: [https://github.com/apache/tika/commit/34c6e126690a806537b66634263b5bcf4a4d214e])
* (edit) tika-parsers/pom.xml


> Reuse SAXParsers where possible
> -------------------------------
>
>                 Key: TIKA-2645
>                 URL: https://issues.apache.org/jira/browse/TIKA-2645
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Assignee: Tim Allison
>            Priority: Major
>             Fix For: 1.19, 2.0.0
>
>
> [~wastl-nagel] pointed out on the [user list|https://lists.apache.org/thread.html/54913f29cd83bba175f77a2d6a4902bb3a5cba2fa495bbfd6012024a@%3Cuser.tika.apache.org%3E]
that there can be thread contention when creating SAXParsers.  [~jukkaz] recommended pooling
SAXParsers.
> I noticed a modest improvement in speed when parsing docx files with our SAX based parser,
and I suspect that [~wastl-nagel] will find an even greater improvement during detection because
we're currently creating a new SAXParser on every call to detect an XML root.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message