On Feb 14, 2014, at 6:01 PM, Tony Cappellini 
<cappy2...@gmail.com<mailto:cappy2...@gmail.com>> wrote:
I'm trying to determine if it's possible optimize the python code so that 
dumping the data will occur faster. Currently, it takes ~25 minutes at 9600 
baud to dump 8-15 MB of data.

There’s something wrong with your math.  At 9600 baud, you average just under 
1,000 bytes per second.  At 1,000 bytes per second, 15 MB will take 15,000 
seconds, which is just over 4 hours.  That’s straight wire time — it doesn’t 
matter what language you’re using to pack the wire.

25 minutes will get you 1.5MB.  So, either you’re not really running 9600 baud, 
or you’re not really sending as much data as you think you are.
--
Tim Roberts, t...@probo.com<mailto:t...@probo.com>
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to