SwiftUIImageEffects
SwiftUIImageEffects copied to clipboard
Much, much slower than the Objective-C version
Nice to have a Swift version, but do some time profiling and you'll find it is much, much slower than the Objective-C version. Setting a blur radius of 20 with no tint or saturation to my image takes 96 ms with the Objective-C version. This Swift version takes 1106 ms!
Even when I don't apply any blur, tint, or saturation, it's still slower. In my case, it takes 322 ms to apply no effect. This is compared to 36 ms from the Objective-C version with the same image and settings.