This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sdaoden
Recipients nadeem.vawda, neologix, pitrou, ronaldoussoren, santoso.wijaya, sdaoden, vstinner
Date 2011-05-15.16:54:06
SpamBayes Score 0.002402574
Marked as misclassified No
Message-id <20110515165052.GA21350@sherwood.local>
In-reply-to <1304976994.14.0.502934856435.issue11877@psf.upfronthosting.co.za>
Content
> Finally, depending on the workload, it could have a significant
> performance impact.

Oh yes (first replaces os.fsync() with an in-python wrapper):

18:12 ~/tmp $ ll mail
ls: mail: No such file or directory
18:12 ~/tmp $ ll X-MAIL
312 -rw-r-----  1 steffen  staff  315963 15 May 17:49   X-MAIL
18:12 ~/tmp $ time s-postman.py --folder=~/tmp/mail --dispatch=X-MAIL
Dispatched 37 tickets to 4 targets.

real	0m4.638s
user	0m0.974s
sys	0m0.160s
18:13 ~/tmp $ rm -rf mail
18:13 ~/tmp $ time s-postman.py --folder=~/tmp/mail --dispatch=X-MAIL
Dispatched 37 tickets to 4 targets.

real	0m1.228s
user	0m0.976s
sys	0m0.122s

(I'm using the first one.)
History
Date User Action Args
2011-05-15 16:54:07sdaodensetrecipients: + sdaoden, ronaldoussoren, pitrou, vstinner, nadeem.vawda, neologix, santoso.wijaya
2011-05-15 16:54:06sdaodenlinkissue11877 messages
2011-05-15 16:54:06sdaodencreate