lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Haws (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENENET-541) Performance issue with IOException in FastCharStream.
Date Sat, 31 May 2014 22:32:03 GMT

     [ https://issues.apache.org/jira/browse/LUCENENET-541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christopher Haws updated LUCENENET-541:
---------------------------------------

    Attachment: Lucene541Sample.zip

Here is a sample that shows the performance hit. There is a folder called Dependencies that
holds the current version of Lucene.Net along with my modified version. Simply switch the
referenced version between the two to see the performance impact. From what I can see, when
the debugger is attached there is ~%1000 performance improvement, when the debugger is not
attached there is ~%35 performance improvement.

> Performance issue with IOException in FastCharStream.
> -----------------------------------------------------
>
>                 Key: LUCENENET-541
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-541
>             Project: Lucene.Net
>          Issue Type: Improvement
>          Components: Lucene.Net Core
>    Affects Versions: Lucene.Net 3.0.3, Lucene.Net 3.6, Lucene.Net 4.0
>            Reporter: Christopher Haws
>            Priority: Minor
>              Labels: performance
>         Attachments: Lucene541Sample.zip
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> The Refill() method of the FastCharStream class contains logic based on an IOException
being thrown. This logic degrades the performance of every query by about 10x from my testing.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message