I have created a test class that can be found here: https://www.dropbox.com/sh/931vwly297sren5/AACaNjP8kE5wfs-eesCGM_eMa?dl=0. I moved the Blur method outside the resize loop because it only needs to happen once. This is an action that takes a lot of time so it really reduced the execution time. You can see the output from my machine in the dropbox folder. It now only takes 12 seconds on my machine (20-8). I also added a parallel test and it surprisingly is slower. I will investigate this further at some other time.
↧