[Zope-CMF] CMF Collector: Open Issues

2007-05-07 Thread tseaver
The following supporters have open issues assigned to them in this collector
(http://www.zope.org/Collectors/CMF).

Assigned and Open


  dreamcatcher

- setChainForPortalTypes doesn't allow to set default chain,
  [Accepted] http://www.zope.org/Collectors/CMF/475


  mhammond

- Windows DevelopmentMode penalty in CMFCore.DirectoryView,
  [Accepted] http://www.zope.org/Collectors/CMF/366


Pending / Deferred Issues

- FSPropertiesObject.py cannot handle multiline input for lines, text 
attributes,
  [Deferred] http://www.zope.org/Collectors/CMF/271

- Can't invalidate skin items in a RAMCacheManager,
  [Pending] http://www.zope.org/Collectors/CMF/343

- workflow notify success should be after reindex,
  [Deferred] http://www.zope.org/Collectors/CMF/389

- Possible bug when using a BTreeFolder Member folder,
  [Pending] http://www.zope.org/Collectors/CMF/441

- purge_old in runAllImportSteps not working,
  [Pending] http://www.zope.org/Collectors/CMF/455

- Danger from Caching Policy Manager,
  [Pending] http://www.zope.org/Collectors/CMF/460

- properties setup handler: support for non-ascii strings,
  [Pending] http://www.zope.org/Collectors/CMF/468

- GenericSetup does not handle non-ascii data well,
  [Pending] http://www.zope.org/Collectors/CMF/471

- autocreation of catalog indexes,
  [Pending] http://www.zope.org/Collectors/CMF/472

- [GS] Error when choosing initial_configuration ,
  [Pending] http://www.zope.org/Collectors/CMF/473

- Workflows are missing a description attribute,
  [Pending] http://www.zope.org/Collectors/CMF/480

- Member deletion fails when using PAS-based user folder,
  [Pending] http://www.zope.org/Collectors/CMF/481


Pending / Deferred Features

- Favorite.py: queries and anchors in remote_url,
  [Pending] http://www.zope.org/Collectors/CMF/26

- DefaultDublinCore should have Creator property,
  [Pending] http://www.zope.org/Collectors/CMF/61

- Document.py: universal newlines,
  [Pending] http://www.zope.org/Collectors/CMF/174

- portal_type is undefined in initialization code,
  [Pending] http://www.zope.org/Collectors/CMF/248

- CMFTopic Does Not Cache,
  [Deferred] http://www.zope.org/Collectors/CMF/295

- Wishlist: a flag that tags the selected action.,
  [Pending] http://www.zope.org/Collectors/CMF/301

- CMFDefault should make use of allowCreate(),
  [Pending] http://www.zope.org/Collectors/CMF/340

- Nested Skins,
  [Deferred] http://www.zope.org/Collectors/CMF/377

- CatalogVariableProvider code + tests,
  [Pending] http://www.zope.org/Collectors/CMF/378

- CMF needs View-based TypeInformation,
  [Pending] http://www.zope.org/Collectors/CMF/437

- New getNextEvent Method,
  [Pending] http://www.zope.org/Collectors/CMF/462

-  Support 'remove' attribute for skin-path/ nodes in skins.xml,
  [Pending] http://www.zope.org/Collectors/CMF/479



___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests


[Zope-CMF] Re: Making TypesTool faster

2007-05-07 Thread Alexander Limi
On Fri, 04 May 2007 05:17:36 -0700, Tres Seaver  
[EMAIL PROTECTED] wrote:



I think I misunderstood:  you guys have actually measured that the
'manage_addProducts[product]' dance is taking measurable time when
building the add list?  I thought we were trying to cache the result of
the whole lookup, especially the meta_type-is-allowed +
user-has-permission checks, which I would imagine are much more
expensive than the factory dispatcher lookup.


Actually, it seems to be — but I'm not a programmer — I just know that  
when we cached the result of that lookup locally, the whole thing is about  
twice as fast overall. That's including our metatype-is-allowed and  
has-permission checks.



That said, I didn't really understand the patch as earlier proposed;
I'm sorry for not reading more carefully.


Did you have time to look at it now?

If the two are orthogonal, and we already have a sane patch, then why  
not
(at least if we can get some tests in place) fix the one at the CMF  
level

and deal with the other Archetypes issue separately.


If factory dispatcher lookup is truly the hotspot, then we should be
fixing it even lower in the stack (at the Zope level).


It's just my experience that it's harder to get small optimizations into  
Zope for these kinds of things, as it's more likely that people rely on  
side effects like this (the fact that the list of products can change  
without restarting) there. But if you think it can be done on that level,  
it would of course be the optimal location to do it.


--
Alexander Limi · http://limi.net

___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests