Baseflow / Baseflow/flutter_cache_manager

Cache hit/miss metrics

Đang mở
#189 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
type: enhancement
Ngôn ngữ chính
Dart
Star
809
Fork
510
Merge trung bình
6 phút
Pull request đã merge (30 ngày)
1

Mô tả

## 🏗 Enhancement Proposal

Have cache manager keep a count of cache hit/misses during use.

### Pitch

Something that popped into my head while testing for #179, it would be useful for the cache manager to store cache hit/miss counts. This would allow app developers to better understand how the cache is performing, and adjust usage to improve cache hit rates.

### Platforms affected (mark all that apply)
- [x] :iphone: iOS
- [x] :robot: Android

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start by tracing the cache manager's cache lookup and storage paths in the repository, since the issue names no files or tests. Determine where hit and miss events occur and how counts should be exposed for iOS and Android use; done means cache hit/miss counts are maintained during use and covered by the relevant tests.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
dart, flutter
Lĩnh vực
mobile
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.