lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3648) Speed up SegementDocsEnum by making it more friendly for JIT optimizations
Date Fri, 16 Dec 2011 09:12:30 GMT

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

Uwe Schindler commented on LUCENE-3648:
---------------------------------------

Cool thanks! I will test this now with Java 6 AggressiveOpts and/or Java 7, just to be sure.
LOL :-)
                
> Speed up SegementDocsEnum by making it more friendly for JIT optimizations
> --------------------------------------------------------------------------
>
>                 Key: LUCENE-3648
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3648
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/codecs, core/search
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>             Fix For: 4.0
>
>         Attachments: LUCENE-3648.patch, LUCENE-3648.patch, LUCENE-3648.patch
>
>
> Since we moved the bulk reading into the codec ie. make all  bulk reading codec private
in LUCENE-3584 we have seen some performance [regression|http://people.apache.org/~mikemccand/lucenebench/Term.html]
on different CPUs. I tried to optimize the implementation to make it more eligible for runtime
optimizations, tried to make loops JIT friendly by moving out branches where I can, minimize
member access in all loops, use final members where possible and specialize the two common
cases With & Without LiveDocs.
> I will attache a patch and my benchmark results in a minute.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message