vscode-text-marker icon indicating copy to clipboard operation
vscode-text-marker copied to clipboard

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

Open rbadapanda opened this issue 5 years ago • 4 comments

  • Issue Type: Bug
  • Extension Name: text-marker
  • Extension Version: 1.11.0
  • OS Version: Darwin x64 18.7.0
  • VSCode version: 1.37.0-insider
{
	"messages": [],
	"activationTimes": {
		"startup": true,
		"codeLoadingTime": 123,
		"activateCallTime": 23,
		"activateResolvedTime": 1,
		"activationEvent": "*"
	},
	"runtimeErrors": []
}

rbadapanda avatar Jul 24 '19 00:07 rbadapanda

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

ryu1kn avatar Jul 24 '19 10:07 ryu1kn

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.

rbadapanda avatar Jul 24 '19 17:07 rbadapanda

Thanks for the instruction!

startup-times

ryu1kn avatar Jul 25 '19 09:07 ryu1kn

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.

Leokuma avatar Feb 22 '23 22:02 Leokuma