Parfor runs significantly slower in 2022b (Process profile) compared to 2019a (local profile)
7 views (last 30 days)
I notice my script with parfor (with Parallel Computing Toolbox) runs significantly slower (10x) in Matlab 2022b compared to 2019a (same computer). The only visible difference is 2022b uses a 'Process' profile when starting parfor while 2019a uses 'local' profile.
Does profile setting affect parfor performance? 2022b only has "Process" and "Thread" profile. Are those the same with the "local" profile in previous Matlab versions?