Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 61907 invoked from network); 9 Aug 2010 14:55:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Aug 2010 14:55:10 -0000 Received: (qmail 83354 invoked by uid 500); 9 Aug 2010 14:55:10 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 83216 invoked by uid 500); 9 Aug 2010 14:55:07 -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 83208 invoked by uid 99); 9 Aug 2010 14:55:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Aug 2010 14:55:07 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jukka.zitting@gmail.com designates 209.85.213.170 as permitted sender) Received: from [209.85.213.170] (HELO mail-yx0-f170.google.com) (209.85.213.170) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Aug 2010 14:55:01 +0000 Received: by yxi11 with SMTP id 11so4098356yxi.1 for ; Mon, 09 Aug 2010 07:54:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=O0aSyBgNBdLAqXS9Y/3uX5jJnhJ2xYMqbW3mSPdrXeI=; b=bUEf07GoZVnSlaxu3Gv62+J0cSNMXmG39wSkvjs/8IugY01fIubvzPgfRCv1BsrREF Pry56ONP+RjoRKeDGe6MX3fZIjsmX9NCT5ELbXmT+KiVOZxe5rL7tW0IvnwaQT+30Z5q /TXHfc4RSYaA9U1klkbaxcuB3IyP5YzUd3rec= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=rnEk8WFXtQPedVeeyPEuX+1ba9zQO++lDXHCc5lFWV9qUo4CJk0rGoO3PDp/eDqpXd Mbmr6ob5/g/fgR/DV055wMeClv2ZtkHvXcWSOWhwF5ZDgDOpskO0IrRRoT1mJu6lespP SC2nsllYRiO7pYgMtrVK7fPTVIiyD7Gtmn6PE= Received: by 10.231.167.67 with SMTP id p3mr19529952iby.20.1281365680853; Mon, 09 Aug 2010 07:54:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.151.198 with HTTP; Mon, 9 Aug 2010 07:54:20 -0700 (PDT) In-Reply-To: References: From: Jukka Zitting Date: Mon, 9 Aug 2010 16:54:20 +0200 Message-ID: Subject: Re: Jackrabbit performance data To: dev@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 Hi, On Mon, Aug 9, 2010 at 3:53 PM, Ard Schrijvers wrote: > First of all, thanks a lot for this Jukka. I really like it. Would you > have an idea how we could measure performance for larger repositories. > For example, I would be glad to add some query performance tests, but, > obviously, querying can be very sensitive to the number of nodes. I > would be interested in the performance of some queries (of xpath, sql > and qom) against different repository version, but then specifically > queries against large repositories. I understand if it is not feasible > because the tests would take to long. WDYT? The size of the test repository shouldn't be too much of a problem, as long as the setup/teardown code doesn't take hours to complete. A few minutes per test is still quite OK; you can create quite a bit of test content in that time. The test suite currently doesn't allow multiple different tests to share test content, but that should be easy to solve by introducing a concept of test groups with their own setup/teardown phases. A more essential consideration is the time it takes to execute a single test query. Currently the test suite is configured to spend 50 seconds iterating over a single performance tests, so to get good statistics an individual test shouldn't take much longer than a few seconds. We can increase the execution time, but I think a few seconds should in any case be the upper limit for most interesting search use cases. See the simple search test case I added in revision 983662. It would be great if you'd be interested in adding more complex search benchmarks. BR, Jukka Zitting