Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Actually use the cached resolvedJSDocType #36516

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

Merged

Conversation

weswigham
Copy link
Member

This code path was mentioned as a possible performance-impacting path. We have a cache in this codepath that we were failing to ever reuse the value from, so we were recalculating the value on every invocation.

Try turning the whitespace diff off when reviewing 😉

@weswigham
Copy link
Member Author

@typescript-bot pack this

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jan 29, 2020

Heya @weswigham, I've started to run the tarball bundle task on this PR at 91d4e44. You can monitor the build here. It should now contribute to this PR's status checks.

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jan 29, 2020

Hey @weswigham, I've packed this into an installable tgz. You can install it for testing by referencing it in your package.json like so:

{
    "devDependencies": {
        "typescript": "https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/62497/artifacts?artifactName=tgz&fileId=6E447B5A728BFFBA1D63706A36510167AA45DAD5EE3ED39CF4BA0CB85D0FF51102&fileName=/typescript-3.8.0-insiders.20200129.tgz"
    }
}

and then running npm install.


There is also a playground for this build.

@weswigham weswigham merged commit aec732a into microsoft:master Jan 29, 2020
@weswigham weswigham deleted the actually-use-cached-resolvedJSDocType branch January 29, 2020 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.