Skip to content

working prototype#162

Closed
dominikg wants to merge 7 commits intomainfrom
wip/deadlock-fix
Closed

working prototype#162
dominikg wants to merge 7 commits intomainfrom
wip/deadlock-fix

Conversation

@dominikg
Copy link
Copy Markdown
Owner

problems

@dominikg
Copy link
Copy Markdown
Owner Author

turns out 3.0.2 is already a lot slower than 3.0.1, this is actually getting some perf back.

let result;
if (filename !== tsconfigFile && cache?.hasParseResult(tsconfigFile)) {
result = await getParsedDeep(tsconfigFile, cache, options);
if (result.referenced?.then) {
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is needed otherwise pnpm bench fails. However it shouldn't be. getParsedDeep awaits referenced, so i am not sure why it can still be a promise here...

Copy link
Copy Markdown

@patak-cat patak-cat Feb 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't understand why this is needed either. I think you could add a TODO to review this later? It won't harm perf for now

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants