Skip to content

Poor Performance on Mobile Device #46

@seanwu1105

Description

@seanwu1105

Extremely poor performance on mobile devices. Need time to investigate the root cause.

  • It is highly possible that the Filesystem on the Android device is not fast enough to rapidly query multiple times.
    • Possible fix: merge the information tuples into a large json file.
    • Possible fix: use sqlite instead.
  • Media data use base64 encoding to pass around instead of file object with source URI.

Roadmap

  • Use <img /> instead of <ion-img> for better performance.
  • Merge the information tuples into a large json file. This require new "equal" class to check the equality. Greatly add complexity.
  • Call Storage.refresh$() only on initialization.
    • Remove calling Storage.refresh$() on Storage.add$().
    • Remove calling Storage.refresh$() on Storage.remove$(). This require new "equal" class to check the equality. Greatly add complexity.
  • Generate the thumbnail of the media asset on captured.

Metadata

Metadata

Assignees

Labels

codeImprovements to code quality or project architecturefix/feature verifiedThe fix has been verified by QApriority:highHigh priorityuiuxUI or UX update

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions