On 14/10/11 17:45, Tony Pelletier wrote:
Hi,
I have a question regarding the speed of my program on linux in
comparison to windows.
I'm using geopy and contacting Google for geocodes for records in a csv
I created.
....snip...
I mainly use windows, but I tend to use Arch Linux at home...
So, my question is. Why is it running so much faster on linux?
Its impossible to tell from what you've told us.
Is the hardware identical? What about the network connections?
In your application I'd expect network delays to be by far the biggest
factor in program speed and dwarf the PC/OS issues, (unless there was a
huge issue with the networking code - see Steven's post re httplib)
Have you tried profiling the code to see how the time is spent on each
system?
Is there contention on your network at one of the locations? That could
account for large differences too.
Whatever the reason its unlike;y to be a Linux v Windows issue per se,
its much ore likely to be either a difference in Python implementation
or a difference in network configuration.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor