kfiroo / react-native-cached-image

CachedImage component for react-native
MIT License
938 stars 470 forks source link

serious impact on performance #114

Open jose920405 opened 6 years ago

jose920405 commented 6 years ago

Without react-native-cached-image

captura de pantalla 2018-03-02 a la s 5 42 51 p m

With react-native-cached-image

captura de pantalla 2018-03-02 a la s 5 45 22 p m

Just changing:

<Image style={styles.imageItem} source={{ uri: imageObj.cloudinaryUrl }} resizeMode='contain' />

to

<CachedImage style={styles.imageItem} source={{ uri: imageObj.cloudinaryUrl }} resizeMode='contain' />

Testing in ios 10.3

Environment:
  OS: macOS Sierra 10.12.6
  Node: 9.5.0
  Yarn: 1.3.2
  npm: 5.6.0
  Watchman: 4.7.0
  Xcode: Xcode 8.3.2 Build version 8E2002
  Android Studio: 2.3 AI-162.4069837

Packages: (wanted => installed)
  react: 16.2.0 => 16.2.0
  react-native: 0.52.0 => 0.52.0

"react-native-cached-image": "^1.4.3",

bvv218 commented 6 years ago

@jose920405 Experienced the same thing today. After doing some research, I found that it happened after updating react-native from 0.51.0 to 0.53.x. After downgrading react-native back to 0.51.0 it started to work well as before.

jose920405 commented 6 years ago

@bvv218 ..

thank you very much,

is exactly the same as I did a few days ago ... I will move to the previous react-native version to check it

91ranjan commented 6 years ago

Not related to this but how do you get the memory usage? Any tool or way to get this meter UI.

jose920405 commented 6 years ago

Xcode

captura de pantalla 2018-07-03 a la s 9 19 06 am

MarkDaleman commented 5 years ago

Any updates on this?