[
https://issues.apache.org/jira/browse/TIKA-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16287413#comment-16287413
]
Tibor Erdélyi commented on TIKA-2515:
-------------------------------------
It was tested by a txt file containing three letter only: "XXX".
> Sending a 3 character text file to tika server takes 1-2 seconds to process
> ---------------------------------------------------------------------------
>
> Key: TIKA-2515
> URL: https://issues.apache.org/jira/browse/TIKA-2515
> Project: Tika
> Issue Type: Bug
> Components: server
> Affects Versions: 1.16
> Reporter: Tibor Erdélyi
>
> If a text file is sent to Tika server on localhost containing 3 character
> only (http://localhost:9998/rmeta/text) it takes about 1-2 seconds, while
> real processing takes only about 30 msec.
> Processing time difference is caused by constructor of LanguageHandler class
> called in RecursiveMetadataResource.parseMetadata method. Is it needed to
> create a new instance of this class for each request?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)