ryu1kn / vscode-text-marker

Visual Studio Code Extension. Select text in your code and mark all matches. The marking colour is configurable
https://marketplace.visualstudio.com/items?itemName=ryu1kn.text-marker
MIT License
87 stars 17 forks source link

Extension issue - startup time delay is too high - > 120 milli Seconds #39

Open rbadapanda opened 5 years ago

rbadapanda commented 5 years ago
{
    "messages": [],
    "activationTimes": {
        "startup": true,
        "codeLoadingTime": 123,
        "activateCallTime": 23,
        "activateResolvedTime": 1,
        "activationEvent": "*"
    },
    "runtimeErrors": []
}
ryu1kn commented 5 years ago

Hi @rbadapanda , do you care to provide the step to get this json data? Thanks.

rbadapanda commented 5 years ago

In vscode please run "Developer: Show Running Extensions", please locate the line for "Text marker".

You will notice that the activation time for text-marker is way higher than the average time the other extensions take to activate.

Given I had no highlights in my editor, the time is IMO too high. So I reported.

ryu1kn commented 5 years ago

Thanks for the instruction!

startup-times

Leokuma commented 1 year ago

Disabling telemetry helped decrease the loading time by 50%.

I saw one of the dependencies is fp-ts, which is an enormous package. I wonder how much it's being treeshaked.