Skip to content

[Mobile] Android Implementation Shows Significantly Slower Performance #40

@moven0831

Description

@moven0831

Problem

Mobile benchmarks for commit d57c6d3 running on the adapted mobile interface repo (zkID Mobile Wallet-Unit-PoC v1.0.0) reveal that the Flutter app runs 2-4x slower on Android compared to iOS.

Details

The performance degradation is suspected to be caused by UniFFI compatibility requirements that disable certain Android build optimizations:

This pattern is consistent with other mobile proving backends as well like:

We need to find optimization approaches that work with UniFFI to make computation-heavy mobile apps more viable and deliver better UX.

Acceptance Criteria

  • Research and document Android optimization strategies that maintain UniFFI compatibility
  • Implement app-level optimizations compatible with FFI (e.g., in zkID Mobile Wallet-Unit-PoC v1.0.0)
  • Implement infrastructure-level optimizations compatible with FFI (e.g., in Mopro)
  • Document implemented approaches and their performance impact

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions