My question is simple. I use
Renderscript to blur a
I have on me three different Android devices to test the speed & performance of the same code. And I have witnessed some strange inconsistencies that I'd like to be explained, if possible that is.
- 1st device : Nexus 7 2013 running stock Android 5.0, rooted with a S4 Pro 4c @1.5GHz
- 2nd device : Samsung Galaxy Note 2 running unofficial Cyanogen Mode 13 (Android 6) with a S800, 4c @2.3GHz
- 3rd device : Samsung Galaxy S4 Mini runnong Cyanogen Mode 13 (Android 6) with a S400 2c @1.7GHz
At first look, the fastest should be the Note 3 and the slowest ought to be the S4 Mini.
Here are the results of the process of blurring an image over and over (a 100 times) with 25f as
radius. Same blurring code is running on all devices.
- Nexus 7 : ~10 secondes ;
- Note 3 : ~5 secondes and
- S4 Mini : ~3 secondes.
I might add that the image I blur is a Bitmap that streches on the whole screen. So perhaps that is the reason because there are more pixels to handle on Nexus 4 than on a Nexus 7 ? Or could it be also the version of Android ?