11-Dec-2023 19:27:19 prime_parfor_test(): prime_parfor() counts prime numbers from 1 to N. The parfor() function is used for parallel execution. Total Workers Wall time Starting parallel pool (parpool) using the 'Processes' profile ... Connected to parallel pool with 1 workers. 664579 1 159.016 Parallel pool using the 'Processes' profile is shutting down. Starting parallel pool (parpool) using the 'Processes' profile ... Connected to parallel pool with 2 workers. 664579 2 80.1741 Parallel pool using the 'Processes' profile is shutting down. Starting parallel pool (parpool) using the 'Processes' profile ... Connected to parallel pool with 4 workers. 664579 4 41.3427 Parallel pool using the 'Processes' profile is shutting down. Starting parallel pool (parpool) using the 'Processes' profile ... Connected to parallel pool with 8 workers. 664579 8 21.657 Parallel pool using the 'Processes' profile is shutting down. prime_parfor_test(): Normal end of execution. 11-Dec-2023 19:33:31