Skip to content

Can the module load time of lsprotocol.types be reduced? #441

Open

Description

I am writing this in the hope that we can make lsprotocol.types a bit faster to load.

My simple brenchmark is:

time python3 -m lsprotocol.types

Which (on my hardware) puts the wall time at just below 200ms (0.200).

I wrote a tool that reuses my LSP module to access the diagnostics via CLI. For the LSP, 200ms start up is acceptable but for the CLI, it ends up being a considerable amount of the runtime and I was hoping we could trim some of that out.

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

Metadata

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