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

Ken Krugler edited comment on TIKA-528 at 10/12/10 4:30 PM:
------------------------------------------------------------

Committed: http://svn.apache.org/viewvc?view=revision&revision=1021915. Thanks 
Bruno!


      was (Author: kkrugler):
    Committed: http://svn.apache.org/viewvc/?rev=1021915. Thanks Bruno!

  
> Reuse tagsoup HtmlSchema instance across HtmlParsers (performance improvement)
> ------------------------------------------------------------------------------
>
>                 Key: TIKA-528
>                 URL: https://issues.apache.org/jira/browse/TIKA-528
>             Project: Tika
>          Issue Type: Improvement
>          Components: parser
>            Reporter: Bruno Dumon
>            Assignee: Ken Krugler
>             Fix For: 0.8
>
>         Attachments: htmlparser-reuse-htmlschema-patch.txt
>
>
> While parsing a set of small HTML files (email messages), I noticed using a 
> profiler that about a third of the time was being spent in the construction 
> of tagsoup's HTMLSchema class.
> Since this is (or appears to be to me) simply a data structure, it is thread 
> safe and can be reused. Fortunately this can be done easily, as shown in the 
> patch I will attach to this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to