Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 96633 invoked from network); 24 Apr 2007 09:01:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Apr 2007 09:01:44 -0000 Received: (qmail 56732 invoked by uid 500); 24 Apr 2007 09:01:50 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 56699 invoked by uid 500); 24 Apr 2007 09:01:49 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 56686 invoked by uid 99); 24 Apr 2007 09:01:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2007 02:01:49 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [192.18.1.36] (HELO gmp-ea-fw-1.sun.com) (192.18.1.36) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2007 02:01:42 -0700 Received: from d1-emea-09.sun.com (d1-emea-09.sun.com [192.18.2.119]) by gmp-ea-fw-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l3O91IuM019816 for ; Tue, 24 Apr 2007 09:01:18 GMT Received: from conversion-daemon.d1-emea-09.sun.com by d1-emea-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0JGZ00001UQXB200@d1-emea-09.sun.com> (original mail from Knut.Hatlen@Sun.COM) for derby-dev@db.apache.org; Tue, 24 Apr 2007 10:01:18 +0100 (BST) Received: from localhost ([129.159.112.231]) by d1-emea-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <0JGZ005EFVPVO0D1@d1-emea-09.sun.com> for derby-dev@db.apache.org; Tue, 24 Apr 2007 10:01:08 +0100 (BST) Date: Tue, 24 Apr 2007 11:01:07 +0200 From: Knut Anders Hatlen Subject: Re: 0.05% of test fixtures contribute 53% of the total running time!! In-reply-to: <462DBA3D.8060005@sun.com> Sender: Knut.Hatlen@Sun.COM To: derby-dev@db.apache.org Message-id: Organization: Sun Microsystems MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT References: <462D84E4.8090802@apache.org> <462DAB7C.7010006@sun.com> <462DBA3D.8060005@sun.com> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.98 (usg-unix-v) X-Virus-Checked: Checked by ClamAV on apache.org �ystein Gr�vlen writes: > Knut Anders Hatlen wrote: > >> I once wrote my own test runner which printed the time in milliseconds >> for each test case, see the attached TimeRunner.java. > > Thanks, this is useful. > >> >> Note that testPositionAgressive doesn't always take that much time. I >> think that test and the other testPosition tests use random offset and >> length and therefore the variation is high. > > While this is true for several of the test cases in BlobClob4BlobTest, > by looking at the code, I am not able to find anything random in the > execution of testPositionAgressive. I will try to run them and see > what I get. I think you are correct, there's nothing random in that fixture. It seems like it started taking a lot more time at revision 530085. I had run the tests at an earlier revision. -- Knut Anders