Performance importing pages

"matthew warren" <[email protected]> Sat, 28 May 2005 23:56:06 +0000
Newsgroups gmane.comp.web.wiki.moin.devel
Message-ID <[email protected]>
Hallo, MoinMoin'ers

I have a very simple piece of code to import a set of articles into a 
MoinMoin Wiki.

It goes like this;

<pre>
for PageName in UniqHeadings:
    request = RequestCLI()
    editor = PageEditor(request,PageName)
    request.form={}
    editor.saveText(editor.normalizeText(Articles[PageName]), 0)
</pre>

this has a list of around 4,500 UniqHeadings to get through. Average article 
size is 2k. An Apache served MoinMoin instance is running.

It is currently writing pages at the rate of around 8 per minute. Do I 
really have to wait 9 hours, or is something amiss?

Thanks,

Matt

_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters! 
http://www.msn.co.uk/newsletters



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005