Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

❓ Ask: Help Us Gather Slow Startup Performance Data #5488

Open
diyer opened this issue Feb 29, 2024 · 11 comments
Open

❓ Ask: Help Us Gather Slow Startup Performance Data #5488

diyer opened this issue Feb 29, 2024 · 11 comments

Comments

@diyer
Copy link
Collaborator

diyer commented Feb 29, 2024

We've spent the past few months investigating issues with startup performance and identified a few areas of change. While we've started to make some improvements, we need some more information from you!

In order to collect startup performance numbers, we want you to do the following -

  1. In your VSCode, Hit F1/Open command Palette and select "Startup Performance." This will open an editor with all Startup Performance details like this -
Screenshot 2024-02-28 at 4 08 03 PM

Please share cold activation vs non cold activation startup numbers. (The cold activation time is the first run of the extension after you install it. It tends to be slower than other times.)

  1. Save the contents of Startup Performance to a file and attach the file to this issue. Also attach a screenshot of Salesforce extension startup numbers from this tab.

  2. In addition, also provide us the following details -
    Salesforce Extension Version in VS Code:
    OS and version:
    VS Code version:

Thanks again - your participation here will help us improve those Extension Pack load times for YOU!

@AnanyaJha AnanyaJha changed the title Gather Slow Startup Performance data ❓ Ask: Help Us Gather Slow Startup Performance Data Feb 29, 2024
@AnanyaJha AnanyaJha pinned this issue Feb 29, 2024
@gbickel-nuage
Copy link

Startup Performance - gbickel-nuage.txt

image

v60.2.3

@gbickel-nuage
Copy link

Sorry - missed that request:

Windows 11

VS Code About info:
Version: 1.86.2 (user setup)
Commit: 903b1e9d8990623e3d7da1df3d33db3e42d80eda
Date: 2024-02-13T19:40:56.878Z
Electron: 27.2.3
ElectronBuildId: 26908389
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Windows_NT x64 10.0.22631

@jongpie
Copy link

jongpie commented Feb 29, 2024

@diyer @AnanyaJha here's the info for my machine, for non-cold activation. I'm a Salesforce employee too, so feel free to reach out to me internally if that would be helpful.

startup_performance-2024-02-29.log

image

Version: 1.86.2 (system setup)
Commit: 903b1e9d8990623e3d7da1df3d33db3e42d80eda
Date: 2024-02-13T19:40:56.878Z
Electron: 27.2.3
ElectronBuildId: 26908389
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Windows_NT x64 10.0.19045

@diyer
Copy link
Collaborator Author

diyer commented Feb 29, 2024

Thank you @jongpie! Looks like you are seeing very high load times , We will definitely reach out to you to test out few things when we have them ready to test.
cc: @mingxuanzhangsfdx

@paullinder-ctl
Copy link

paullinder-ctl commented Feb 29, 2024

------------ Non-Cold Startup -----------------------

image

---------- Log File ------------------
startupPerf.txt

Salesforce Extension Version in VS Code: Salesforce Extension Pack (Expanded) v60.2.3

-------------- OS and version ---------------------------------------
image

-------VS Code version---------------
image

@diyer

@wharlen
Copy link

wharlen commented Mar 7, 2024

image

Log file

StartupPerformanceLog.txt

VS Code Version

Version: 1.87.0 (user setup)
Commit: 019f4d1419fbc8219a181fab7892ebccf7ee29a2
Date: 2024-02-27T23:41:44.469Z
Electron: 27.3.2
ElectronBuildId: 26836302
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Windows_NT x64 10.0.19044

@melissajhansen
Copy link

I just did a factory reset on my Mac, fresh installs of everything, and it now seems to be slower than ever, which is odd. I may have been on an earlier version of the CLI before I wiped. Here are my stats (I'm assuming you wanted the Startup Performance stats from AFTER all the extensions finally load? If not, LMK and I will redo.

Non-Cold

image image

Startup Performance.txt

@salesforcekorea
Copy link

salesforcekorea commented Apr 18, 2024

Non-Cold
Startup Performance_20240418.log

Salesforce Extension Version in VS Code
v60.8.0

OS and version: Edition:
Windows 11 Pro (x64)
Installed Date: 2023-‎03-‎19
OS Build: 22631.3447
Experience: Windows Feature Experience Pack 1000.22688.1000.0

VS Code version
image

@diyer
Copy link
Collaborator Author

diyer commented May 9, 2024

Hi all, the latest version of our Salesforce extensions 60.12.0 has gone through significant decrease in its size ~25% due to major upgrade to the version of @salesforce/core library. We would appreciate if you could take some time to compare this version and let us know how this impacts your startup time performance (hopefully in a good way:))!

@gbickel-nuage @jongpie @paullinder-ctl @wharlen @kaustubhdapurkar @melissajhansen @salesforcekorea

@kaustubhdapurkar
Copy link

Hey @diyer,

Below are the startup performance details after updating the extensions.

cold.txt

non-cold.txt

Version: 1.89.1 (user setup)
Commit: dc96b837cf6bb4af9cd736aa3af08cf8279f7685
Date: 2024-05-07T05:13:33.891Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.22631

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

No branches or pull requests

9 participants