Tags:
archive_me1Add my vote for this tag create new tag
view all tags
I noticed that the new Beta release 09 Sep 2000 has a performance problem for displaying the changes page. As a reminder, the changes script was replaced by the WebChanges topic that has an inline %SEARCH% . The changes script was very fast, it was simply reading a .changes file that had lines of {topic names, author, date}. The performance of inline %SEARCH% is OK for a small web, but I noticed that it is very slow for big webs, it takes 50 sec for a web with 1700 pages.

The speed of search sorted by date and a limit on returned pages should be improved. WebChanges has this search string:
%SEARCH{".*" regex="on" nosearch="on" nototal="on" order="modified" reverse="on" limit="50"}%

The inline %SEARCH% is more elegant then the changes script, we should keep that if possible.

-- PeterThoeny - 11 Sep 2000

I improved the search algorythm in wikisearch.pm. The WebChanges topic on a big web with 700 topics took 3 minutes before the improvement, now it takes 7 seconds. There is also a small improvement in getRevisionInfo() of wikistore.pm that reduces two system calls to one when you request the author and date of the latest revision. We are now almost back to the speed of the original changes script.

Commited to TWikiAlphaRelease.

-- PeterThoeny - 03 Nov 2000

TopicClassification:
FeatureDone
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2000-11-04 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.