Skip to content

Improvements to loading times of Python Extension #2853

Closed

Description

Following are some changes that can be made to improve the load times of the python extension:

Changes required

Long Term Changes:

  • Create perf tests to measure and compare code load times of extension #3022 Create more perf tests to measure and compare load times of extension, in particular the following times:
    • codeLoadingTime
    • activateCallTime
    • activateResolvedTime
      We have tests today that do something similar, we need to ensure they are more granular. (compare against release and dev versions of extension - as done today).
  • Change interpreters list into an Observable list #3023 Observable list of interpreters (currently we need any, subsribe, filter, and similar capabitlies of interpreters, but in a non-blocking way, thats exactly that Observable lists provide - RxJs).
    • Short term solution could be to add new code for perf improvements
    • E.g. add a predicate to IInterpreterService.getInterpreters, add methods IInterpreterService.hasAny, IInterpreterService.onChange()

@Microsoft/pvsc-team /cc

Activity

  1. added
    bug
    debt
    needs proposal
    on Oct 11, 2018
  2. changed the title [-]Improvements to loading of Python Extension[/-] on Oct 11, 2018
  3. locked and limited conversation to collaborators on Oct 11, 2018
  4. added
    meta
    important
    and removed on Oct 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugdebtimportantmetaneeds proposal

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions