Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 31863 invoked from network); 1 May 2006 14:16:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 May 2006 14:16:35 -0000 Received: (qmail 85210 invoked by uid 500); 1 May 2006 14:16:34 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 85177 invoked by uid 500); 1 May 2006 14:16:34 -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 85168 invoked by uid 99); 1 May 2006 14:16:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 May 2006 07:16:34 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.18.42.249] (HELO nwkes-gis-mail-1.sun.com) (192.18.42.249) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 May 2006 07:16:33 -0700 Received: from d1-sfbay-02.sun.com ([192.18.39.112]) by nwkes-gis-mail-1.sun.com (8.12.9/8.12.9) with ESMTP id k41EGC6O028645 for ; Mon, 1 May 2006 07:16:12 -0700 (PDT) Received: from conversion-daemon.d1-sfbay-02.sun.com by d1-sfbay-02.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) id <0IYL00I015JQ7000@d1-sfbay-02.sun.com> (original mail from Richard.Hillegas@Sun.COM) for derby-dev@db.apache.org; Mon, 01 May 2006 07:16:12 -0700 (PDT) Received: from [129.150.21.22] by d1-sfbay-02.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPSA id <0IYL00JAWBN08J10@d1-sfbay-02.sun.com> for derby-dev@db.apache.org; Mon, 01 May 2006 07:16:12 -0700 (PDT) Date: Mon, 01 May 2006 07:16:13 -0700 From: Rick Hillegas Subject: Re: Derbyall runtimes, 10.1, and Security Manager In-reply-to: <44539A7C.3010008@amberpoint.com> Sender: Richard.Hillegas@Sun.COM To: derby-dev@db.apache.org Message-id: <4456182D.5070907@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en References: <44539A7C.3010008@amberpoint.com> User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Bryan, When playing around with individual tests--enabling and disabling the SecurityManager--I have noticed that our tests run considerably slower when launched under the SecurityManager. I don't have any sense of how much of the problem is just a tax we have to pay for security. Sounds like your experiments may have confirmed that the problem is not isolated to our test environment. It's definitely worth profiling this drag so that 1) we can factor security calls to the outer loop 2) we can appropriately set our customers' expectations Regards, -Rick Bryan Pendleton wrote: > I had occasion recently to be porting a few bug fixes from the > trunk to 10.1, and so I happened to be running derbyall on 10.1. > > I don't really want to re-ignite the debate over derbyall runtime, > but the difference in duration between a derbyall run on the > trunk, and a derbyall run on 10.1, was really remarkable. > > Then, as part of working on DERBY-1229, I happened to be running > a lot of interactive experiments both with and without the > security manager. And I noticed that when I ran Derby code with > the security manager enabled, the runtime speed was noticeably > slower. > > So I'm wondering, is it possible that a significant portion of > the derbyall slowdown in the trunk is due to running with the > security manager enabled, and, if so, is there anything we can > do with that knowledge? > > thanks, > > bryan >