• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Performance numbers for WebChanges on small _default web:

Cairo: 1.5
Dakar: 1.5

Performance numbers for WebChanges on large Main web on TWiki.org with 21K topics:

Cairo: 7
Dakar: 13

This is with 7493.

-- PTh

WebChanges is done by a search, so this is a duplicate of Item960 where search performance is discussed. Discarding as a duplicate.

Is the performance of the changes script an issue? It's rather better than using a search, as it shows what changed in each topic, though I expect the performance will be well down on Cairo (it does an awful lot more).


No, this is a separate actionable item. In Cairo I put in a lot of efforts to optimize search. The optimization that affects this item here is gone. Cairo reads the file timestamp first (which is fast), sorts them, takes the limit into account with some slack, then sorts the short list based on the topic rev timestamp (slow operation on short list)

-- PTh

If you look at the code, Search.pm, lines 617-647, you will see that that particular optimisation was recoded slightly, but was preserved in Dakar. The stat was moved into the store because it assumes a file system implementation. I tried hard not to compromise any of your optimisations; if I destroyed any, it was accidental and needs to be identified.


Summary WebChanges slow on large webs
ReportedBy PeterThoeny
AppliesTo Engine

Priority Normal
CurrentState No Action Required

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2005-11-18 - CrawfordCurrie
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback