Skip to content

Performance considerations: startup #789

@Vipitis

Description

@Vipitis

This might be an issue on my specific old system, but perhaps it's worth a little discussion.

Running any small example (or larger project) has a couple seconds startup time. I want to run some more profiling but it looks like creating the instance and requesting the adapter are two of the main slowdowns.

One easy speedup I identified is to only request one backend using instance extras, this already saves 1-2 seconds.
Will need to look more into this, as this will likely depend on platform a lot. Async might also help, but I feel most of the startup tasks depend on others to finish first.

(this isn't a perfect comparison, but matches the subjective experience too)

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions