2007-02-11T06:31:02 *** irc.freenode.net sets mode: +o ChanServ
2007-02-11T22:19:23 <dreimark> ThomasWaldmann:Page.getPageList that filter keyword is this overloaded?
2007-02-11T22:20:33 <ThomasWaldmann> what do you mean?
2007-02-11T22:20:56 <dreimark> in my editor it is marked red so it could be a function
2007-02-11T22:20:59 <dreimark> too
2007-02-11T22:22:28 <ThomasWaldmann> filter is a python builtin
2007-02-11T22:23:02 <ThomasWaldmann> so using it as attribute name is possible, but dirty
2007-02-11T22:23:22 <ThomasWaldmann> (same as max, min, file, ...)
2007-02-11T22:25:19 <ThomasWaldmann> you could refactor it to filterfn
2007-02-11T22:25:20 <dreimark> getPageList is the bottleneck of SystemInfo
2007-02-11T22:25:32 <dreimark> ok
2007-02-11T22:25:40 <ThomasWaldmann> it is?
2007-02-11T22:26:30 <dreimark> it looks like I have removed everything from that macro from down
2007-02-11T22:26:39 <ThomasWaldmann> the diskusage stuff is very expensive
2007-02-11T22:38:27 <dreimark> the most time is gone in this function
2007-02-11T22:45:19 <dreimark> return '<h1>ENDE</h1>' just behind the pagelist = request.rootpage.getPageList(user='') line in SystemInfo needs minutes
2007-02-11T22:46:38 <ThomasWaldmann> 1.6?
2007-02-11T22:47:43 <dreimark> yeah
2007-02-11T22:48:18 <ThomasWaldmann> how many pages?
2007-02-11T22:49:23 <dreimark> less, but may be i got it there is a page = Page(request, name)
2007-02-11T22:49:36 <dreimark> in Page.getPageList
2007-02-11T22:51:10 <ThomasWaldmann> and?
2007-02-11T23:03:51 <dreimark> it does not matter
2007-02-11T23:21:06 <dreimark> ThomasWaldmann:cachedlist = request.cfg.cache.pagelists.getItem(request, 'all', None)
2007-02-11T23:22:16 <dreimark> it looks like it is always 'cachedlist is None:'
2007-02-11T23:27:13 <ThomasWaldmann> cgi?
2007-02-11T23:27:38 <dreimark> yeah
2007-02-11T23:28:22 <ThomasWaldmann> that explains some missing caches :)
2007-02-11T23:29:21 <dreimark> MM needs much time too and I guess you see much python loads
MoinMoin: MoinMoinChat/Logs/moin-dev/2007-02-11 (last edited 2007-10-29 19:22:08 by localhost)