Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 53883 invoked from network); 3 Oct 2008 12:26:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Oct 2008 12:26:08 -0000 Received: (qmail 76129 invoked by uid 500); 3 Oct 2008 12:26:03 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 76073 invoked by uid 500); 3 Oct 2008 12:26:03 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 76062 invoked by uid 99); 3 Oct 2008 12:26:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Oct 2008 05:26:03 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [212.27.42.65] (HELO smtp8-g19.free.fr) (212.27.42.65) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Oct 2008 12:25:01 +0000 Received: from smtp8-g19.free.fr (localhost [127.0.0.1]) by smtp8-g19.free.fr (Postfix) with ESMTP id CF0C532A841 for ; Fri, 3 Oct 2008 14:25:04 +0200 (CEST) Received: from [192.168.0.11] (lap34-1-82-224-140-72.fbx.proxad.net [82.224.140.72]) by smtp8-g19.free.fr (Postfix) with ESMTP id A882E32A7DA for ; Fri, 3 Oct 2008 14:25:04 +0200 (CEST) Subject: Re: svn commit: r701358 - /tomcat/trunk/java/org/apache/naming/resources/FileDirContext.java From: Remy Maucherat To: Tomcat Developers List In-Reply-To: <20081003120917.5A97E238889E@eris.apache.org> References: <20081003120917.5A97E238889E@eris.apache.org> Content-Type: text/plain; charset=utf-8 Date: Fri, 03 Oct 2008 14:25:03 +0200 Message-Id: <1223036703.3127.0.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On Fri, 2008-10-03 at 12:09 +0000, markt@apache.org wrote: > Author: markt > Date: Fri Oct 3 05:09:16 2008 > New Revision: 701358 > > URL: http://svn.apache.org/viewvc?rev=701358&view=rev > Log: > Better fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=45403 > With this patch, the allowLinking flag applies to all web application resources. It is very slightly slower. On my machine with allowLinking=false, the change to line 899 increases the time from ~7 microseconds to create the file to ~70 microseconds to create and validate the file. As far as I can tell, this change is only going to affect context start times. If directory listings are enabled in the default servlet, they will also be slightly slower but they were horribly slow to start with. Only 10 times slower :) Rémy --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org