[BangPypers] Multiprocessing takes higher execution time

Sibtey Mehdi sibteym at infotechsw.com
Wed Jan 7 10:40:11 CET 2009



I use multiprocessing to compare more then one set of files.

For comparison each set of files (i.e. Old file1 Vs New file1) I create a

Process(target=compare, args=(oldFile, newFile)).start()

It takes 61 seconds execution time.


When I do the same comparison without implementing multiprocessing, it takes
52 seconds execution time.


The parallel processing time should be lesser. 


I am not able to get advantage of multiprocessing here.


Any suggestions can be very helpful.







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/bangpypers/attachments/20090107/96289bd9/attachment.htm>

More information about the BangPypers mailing list