Hi,
I have a strange performance issue on my app on both simulators (iOS and Android). I am displaying 6 times the same image from the network. Images are not big and they load quite fast.
The CPU usage of the app (Runner.app & qemu-system-i386) goes up and stay at at least 100% CPU and the usage stays like this forever.
My app has a refresh (reloads a JSON than trigger a rebuild of my list with the 6 items) and when I hit the refresh, the CPU goes back to normal (around 0.5-2%).
I tried a simple test by replacing the CachedNetworkImage with a simple Placeholder widget, I don't have this issue at all.
As soon as I replace it back with a CachedNetworkImage wdiget, I get the high CPU usage until I do a refresh, and then it all goes smoothly.
I am using cached_network: ^1.0.0 version with Flutter stable 1.7.8.
Any idea what could produce this ?
Hi,
I have a strange performance issue on my app on both simulators (iOS and Android). I am displaying 6 times the same image from the network. Images are not big and they load quite fast.
The CPU usage of the app (Runner.app & qemu-system-i386) goes up and stay at at least 100% CPU and the usage stays like this forever.
My app has a refresh (reloads a JSON than trigger a rebuild of my list with the 6 items) and when I hit the refresh, the CPU goes back to normal (around 0.5-2%).
I tried a simple test by replacing the CachedNetworkImage with a simple Placeholder widget, I don't have this issue at all.
As soon as I replace it back with a CachedNetworkImage wdiget, I get the high CPU usage until I do a refresh, and then it all goes smoothly.
I am using
cached_network: ^1.0.0version with Flutter stable1.7.8.Any idea what could produce this ?