lucenenet-dev mailing list archives

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


Christopher Haws updated LUCENENET-541:


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:
>             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:
>   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

View raw message