diff --git a/binarycpython/utils/grid.py b/binarycpython/utils/grid.py index 136b89112610a7f336e97aa43d48046909ca5145..d9509893c7cc38a9ba5913255313456ecefa43a1 100644 --- a/binarycpython/utils/grid.py +++ b/binarycpython/utils/grid.py @@ -726,7 +726,7 @@ class Population(object): # Execute - r = list(p.imap_unordered(evolve_system, yield_system(), chunksize=100)) + r = list(p.imap_unordered(evolve_system, yield_system(), chunksize=1000)) stop_mp = time.time() diff --git a/tests/population/scaling/evolve_population_comparing_with_multiprocessing.py b/tests/population/scaling/evolve_population_comparing_with_multiprocessing.py index 62e9da962f806e356eaa6f03ee8096d9204baa10..4e95fb0eb43d6c02863b6993e6834217a08c8bcb 100644 --- a/tests/population/scaling/evolve_population_comparing_with_multiprocessing.py +++ b/tests/population/scaling/evolve_population_comparing_with_multiprocessing.py @@ -125,7 +125,7 @@ test_pop.add_grid_variable( # MP total_mp_start = time.time() -# evolve_mp_time = test_pop.test_evolve_population_mp() +#evolve_mp_time = test_pop.test_evolve_population_mp() evolve_mp_time = test_pop.test_evolve_population_mp_chunks() total_mp_stop = time.time()