Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 12707 invoked from network); 1 May 2006 17:04:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 May 2006 17:04:40 -0000 Received: (qmail 36599 invoked by uid 500); 1 May 2006 17:04:39 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 36385 invoked by uid 500); 1 May 2006 17:04:38 -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 36376 invoked by uid 99); 1 May 2006 17:04:38 -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 10:04:38 -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-2.sun.com) (192.18.42.249) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 May 2006 10:04:37 -0700 Received: from d1-sfbay-02.sun.com ([192.18.39.112]) by nwkes-gis-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id k41H4GgL003540 for ; Mon, 1 May 2006 10:04:16 -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 <0IYL00I01J8B5S00@d1-sfbay-02.sun.com> (original mail from David.Vancouvering@Sun.COM) for derby-dev@db.apache.org; Mon, 01 May 2006 10:04:16 -0700 (PDT) Received: from [129.150.20.58] by d1-sfbay-02.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPSA id <0IYL00J16JF48J70@d1-sfbay-02.sun.com> for derby-dev@db.apache.org; Mon, 01 May 2006 10:04:16 -0700 (PDT) Date: Mon, 01 May 2006 10:04:22 -0700 From: "David W. Van Couvering" Subject: Re: Derbyall runtimes, 10.1, and Security Manager In-reply-to: <4456182D.5070907@sun.com> Sender: David.Vancouvering@Sun.COM To: derby-dev@db.apache.org Message-id: <44563F96.8010001@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <44539A7C.3010008@amberpoint.com> <4456182D.5070907@sun.com> User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Wouldn't it be reasonable for developers to run without security manager and for the regression tests to run with? We are not expecting regular breaks of security with our checkins, are we (although it can and does occur)? Thanks, David Rick Hillegas wrote: > 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 >> >