Skip to content

Startup time #2

Open
Open
@roman01la

Description

On my Xiaomi Redmi Note 5 it takes ~4 seconds till the app becomes responsive. After quick profiling I can see that most of the time is spent on evaluating JavaScript in V8. Not that it's terrible amount of time, but if possible I'd like to improve this.

Possible solutions:

  • Move V8 into background thread, so UI is responsive immediately
  • Compile V8 with startup snapshotting enabled
  • Build the whole thing together and AOT compile with Prepack (requires additional type hinting on compiled code, doesn't worth to invest time)

Activity

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions