<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.2.4">
</HEAD>
<BODY>
<BR>
&nbsp; Hi,<BR>
<BR>
I use Zope (2.6.1) and subclasses of the &quot;old&quot; OrderedFolder product (release 0.4) to handle my internal site.<BR>
<BR>
Each &quot;sub-site&quot; is a kind of &quot;big folder&quot;, handled by a specific &quot;sub-manager&quot;, containing until two levels of sub-folders. Each folder or sub-folder is a subclass of OrderedObjectManager, containing documents (stored as ExternalFile subclasses) as well as other instances of custom properties.<BR>
I have an &quot;index_html&quot; method (in DTML) defined for each folder or sub-folder, which displays the ordered hierarchy of the given folders or sub-folders ; access is checked against every sub-folder, so that &quot;private&quot; folders or sub-folders are not displayed to unauthorized users.<BR>
<BR>
Data handling is OK, but while displaying my other custom classes instances is quite quick, displaying these OrderedObjectManager instances is quite slow, even when a sub-site is containing only a few number of folders or sub-folders.<BR>
<BR>
I've tried to use a profiler to find a bottleneck, but don't know Zope and Python internals very well so handling this problem is not very easy.<BR>
Any help or advise would be very helpful.<BR>
<BR>
Thanks,<BR>
Thierry<BR>
<BR>
</BODY>
</HTML>