Skip to content

[Impeller] Short-lived apps using the Vulkan backend never persist the Vulkan shader cache #197087

Closed

Description

@walley892

Impeller's Vulkan backend on Android writes its pipeline cache to disk only once every 50 rasterized frames. Apps that are usually opened briefly may never reach that point, so they never write a pipeline cache, and every launch has to compile pipelines from scratch. This results in much slower startup times for these applications, which becomes even apparent on lower-grade hardware.

We should also persist the Vulkan shader cache on application backgrounding and exit so short-lived apps experience faster subsequent launches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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