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

chore: fix typescript benchmarks by removing ts-benchmark #12838

Merged
merged 5 commits into from Dec 28, 2022

Conversation

vkarpov15
Copy link
Collaborator

Fix #12770

Summary

I haven't been able to figure out why the ts-benchmark module is failing. The fact that they ship minified JS to npm makes it tricky to step through the code, but I figured it isn't especially difficult to write a quick script that parses tsc --extendedDiagnostics output. One less dependency to worry about too.

Examples

Copy link
Collaborator

@hasezoey hasezoey left a comment

Choose a reason for hiding this comment

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

generally looks good to me, though i have some questions regarding consistency

scripts/tsc-diagnostics-check.js Outdated Show resolved Hide resolved
scripts/tsc-diagnostics-check.js Outdated Show resolved Hide resolved
Copy link
Collaborator

@hasezoey hasezoey left a comment

Choose a reason for hiding this comment

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

LGTM

@vkarpov15 vkarpov15 merged commit d9ae2dc into master Dec 28, 2022
@vkarpov15 vkarpov15 deleted the vkarpov15/gh-12770 branch December 28, 2022 17:34
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.

TS benchmark fails with TypeScript 4.9
3 participants