tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: svn commit: r701358 - /tomcat/trunk/java/org/apache/naming/resources/FileDirContext.java
Date Fri, 03 Oct 2008 12:28:38 GMT
Remy Maucherat wrote:
> 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 :)

True, but we are talking micro seconds so in absolute terms it isn't that much.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message