Baseflow / Baseflow/flutter_cached_network_image

Cached Network Image Load Flutter App Performance issue

Open
#863 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
2.6k
Forks
731
Avg merge
3d 9h
Merged PRs (30d)
1

Description

## 🏗 Flutter App Performance issue

Screen/Path | Line No | Performance Total Time (ms)
-- | -- | --
MultiImageStreamCompleter._emitFrame-(package:cached_network_image/src/image_provider/multi_image_stream_completer.dart: | 125/162 | 33.17
(package:path/path. dart: 66) >> LocalFileSystem.path - (package:file/src/backends/local/local_file_system.dart :) | 31 | 105
ImageLoader. _load - (package :cached_network_image/src/image_provider/_image_loader .dart :) | 80 | 23.5
ImageCacheManager. getImageFile - (package: flutter_cache_manager / sre/cache_managers / image_cache_manager . dart :) | 20 | 47

### Version
`cached_network_image: ^3.2.3`

### flutter doctor --verbose
✅ Flutter (Channel stable, 3.10.6, on macOS 13.2.1 22D68 darwin-arm64, locale en-IN)
• Flutter version 3.10.6 on channel stable at /Users/bytes-hitesh/Documents/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision f468f3366c (3 weeks ago), 2023-07-12 15:19:05 -0700
• Engine revision cdbeda788a
• Dart version 3.0.6
• DevTools version 2.23.1

### Platforms affected (mark all that apply)
- ✅ :iphone: iOS
- ✅ :robot: Android

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by profiling the listed entry points in package:cached_network_image/src/image_provider/multi_image_stream_completer.dart and _image_loader.dart, along with ImageCacheManager.getImageFile and LocalFileSystem.path. Reproduce the timings on the reported Flutter and mobile platforms, then establish whether the issue is in this package before defining a measurable performance fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.