Hello,

I am using the Slide 2_1 release branch, and have been profiling to see find a 
bottleneck in performance. In 
org.apache.slide.webdav.util.isSupportedProperty there is:

public boolean isSupportedProperty(String resourceUri, String propertyName, 
String propertyNamespace) throws SlideException {
         
        updateDescriptors(resourceUri);
        return getComputedPropertiesNames().contains(propertyName);
    }

First of all, the getComputedPropertiesNames().contains(propertyName) always 
returns false for me. Wether it is for liveProperties or not. Removing the 
updateDesriptors and return false instantly, does not seem to effect slide in 
any possible way for me. Speedup of dasls are about 50% for me. 

Question: Does anybody know when and whatfor this isSupportedProperty is used? 
I suppose it is called many times, and takes a long time to compute. But, as 
far as I can see, they never change. 

Regards Ard

-- 

Hippo
Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel  +31 (0)20 5224466
-------------------------------------------------------------
[EMAIL PROTECTED] / http://www.hippo.nl
-------------------------------------------------------------- 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to