Skip to content Skip to sidebar Skip to footer

Python Execution Speed: Laptop Vs Desktop

I am running a program that does simple data processing: parses text populates dictionaries calculates some functions over the resulting data The program only uses CPU, RAM, and

Solution 1:

The increasing performance of hardware brings in most cases automatically results in benefit to user applications. The much maligned "GIL" means that you may not be able to take advantage of multicores with CPython unless you design your program to take advantage via various multiprocessing modules / libraries.

SO discussion on the same : Does python support multiprocessor/multicore programming?

A related collation of solutions on python wiki: http://wiki.python.org/moin/ParallelProcessing

Solution 2:

Split your processing into multiple threads. Your particular i7 should be able to support up to 8 threads in parallel.

Solution 3:

Consider repeating on regular HDD's - that SSD could well result in a substantial performance difference depending on caches, and the nature of that data.

Post a Comment for "Python Execution Speed: Laptop Vs Desktop"