Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 58188 invoked from network); 14 Oct 2005 12:40:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Oct 2005 12:40:58 -0000 Received: (qmail 90205 invoked by uid 500); 14 Oct 2005 12:40:57 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 90194 invoked by uid 99); 14 Oct 2005 12:40:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2005 05:40:57 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [212.8.42.126] (HELO jdevoff.zssm.zp.ua) (212.8.42.126) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2005 05:40:58 -0700 Received: from jdevoff.zssm.zp.ua (localhost [127.0.0.1]) by jdevoff.zssm.zp.ua (8.13.3/8.13.3) with ESMTP id j9ECeSws003654 for ; Fri, 14 Oct 2005 15:40:28 +0300 (EEST) (envelope-from eugenydzh@jdevelop.com) Received: (from bofh@localhost) by jdevoff.zssm.zp.ua (8.13.3/8.13.3/Submit) id j9ECeO10003653 for jackrabbit-dev@incubator.apache.org; Fri, 14 Oct 2005 15:40:24 +0300 (EEST) (envelope-from eugenydzh@jdevelop.com) X-Authentication-Warning: jdevoff.zssm.zp.ua: bofh set sender to eugenydzh@jdevelop.com using -f Date: Fri, 14 Oct 2005 15:40:24 +0300 From: Eugeny N Dzhurinsky To: jackrabbit-dev@incubator.apache.org Subject: Re: performance (again) Message-ID: <20051014124024.GA3564@jdevoff.zssm.zp.ua> References: <20051013153405.GD2810@jdevoff.zssm.zp.ua> <20051013154138.GE2810@jdevoff.zssm.zp.ua> <90a8d1c00510140326pffb4a7cv77f83a2cf57ffb51@mail.gmail.com> <90a8d1c00510140532t7a978618h6a50ab28cc2bc890@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <90a8d1c00510140532t7a978618h6a50ab28cc2bc890@mail.gmail.com> User-Agent: Mutt/1.5.11 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Fri, Oct 14, 2005 at 02:32:20PM +0200, Stefan Guggisberg wrote: > eugeny, fyi: > > in your code, i changed SAVE_INTERVAL to 100 and fixed > the loop writing the properties as follows: > > for (int j = 0; j < PROPERTY_COUNT; j++) { > InputStream in = new FileInputStream("repotest/repository.xml"); > n.setProperty("prop_blob", in); > in.close(); > n.setProperty("prop" + j, level + "_" + i + "_" + j); > } > > because i am using a windows box i modified repository.xml to > use CQFileSystem instead of LocalFileSystem for the default > workspace. > > here's the results when i ran it on my machine (with -Xmx128): > > Build 19530 in 796453 ms > Traverse 19530 in 36219 ms > node found in 0 ms > > i.e. > - 19'530 nodes > - 410'130 properties with 195'300 being BINARY! > - 429'660 items on total > - 1.8ms per item > - 40ms per node > i guess that's not too bad. Yep, looks cool. But with my results, I think issue with replacing the same property won't affect performance SO much... Could you please execute original code to see if it will produce different results? -- Eugene N Dzhurinsky