From dev-return-7601-apmail-lucenenet-dev-archive=lucenenet.apache.org@lucenenet.apache.org Sun Jun 1 03:04:02 2014 Return-Path: X-Original-To: apmail-lucenenet-dev-archive@www.apache.org Delivered-To: apmail-lucenenet-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1D1E711C2A for ; Sun, 1 Jun 2014 03:04:02 +0000 (UTC) Received: (qmail 8962 invoked by uid 500); 1 Jun 2014 03:04:02 -0000 Delivered-To: apmail-lucenenet-dev-archive@lucenenet.apache.org Received: (qmail 8919 invoked by uid 500); 1 Jun 2014 03:04:02 -0000 Mailing-List: contact dev-help@lucenenet.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucenenet.apache.org Delivered-To: mailing list dev@lucenenet.apache.org Received: (qmail 8911 invoked by uid 99); 1 Jun 2014 03:04:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jun 2014 03:04:01 +0000 Date: Sun, 1 Jun 2014 03:04:01 +0000 (UTC) From: "Itamar Syn-Hershko (JIRA)" To: dev@lucenenet.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LUCENENET-541) Performance issue with IOException in FastCharStream. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENENET-541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14014896#comment-14014896 ] Itamar Syn-Hershko commented on LUCENENET-541: ---------------------------------------------- Looking at this again, we can't really remove the IOException catch blocks, I'll bring that back. > 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 > Assignee: Itamar Syn-Hershko > 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)