Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 6009 invoked from network); 4 Feb 2010 13:18:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Feb 2010 13:18:53 -0000 Received: (qmail 69415 invoked by uid 500); 4 Feb 2010 13:18:53 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 69357 invoked by uid 500); 4 Feb 2010 13:18:52 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 69348 invoked by uid 99); 4 Feb 2010 13:18:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 13:18:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 13:18:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EB661234C48D for ; Thu, 4 Feb 2010 05:18:28 -0800 (PST) Message-ID: <977685838.36831265289508963.JavaMail.jira@brutus.apache.org> Date: Thu, 4 Feb 2010 13:18:28 +0000 (UTC) From: =?utf-8?Q?Michael_D=C3=BCrig_=28JIRA=29?= To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-2461) Item retrieval inefficient after refresh In-Reply-To: <269562771.154261263223614524.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-2461?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D128296= 00#action_12829600 ]=20 Michael D=C3=BCrig commented on JCR-2461: ------------------------------------ Forget the patch. It doesn't work -> test failures > Item retrieval inefficient after refresh > ---------------------------------------- > > Key: JCR-2461 > URL: https://issues.apache.org/jira/browse/JCR-2461 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-jcr2spi > Affects Versions: 1.5.7 > Reporter: Michael D=C3=BCrig > Priority: Minor > Attachments: JCR-2461.patch > > > When RepositoryService#getItemInfos() returns a sufficiently large batch = for a path, then the second invocation of getItem() below is significantly = slower than the first.=20 > String path =3D ... > Item i =3D session.getItem(path); > i.refresh(false); // same for refresh(true) > session.getItem(path); > In my test setup RepositoryService#getItemInfos() returns 3946 elements. = The first invocation takes approx. 800ms, the second 3000ms. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.