speedup test with multiprocessing