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

Improve test discovery speed #56790

Closed
1 task done
dragomirtitian opened this issue Dec 15, 2023 · 2 comments · Fixed by #56791
Closed
1 task done

Improve test discovery speed #56790

dragomirtitian opened this issue Dec 15, 2023 · 2 comments · Fixed by #56791
Labels
Help Wanted You can do this Infrastructure Issue relates to TypeScript team infrastructure
Milestone

Comments

@dragomirtitian
Copy link
Contributor

Acknowledgement

  • I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.

Comment

Running a single test or a small number of tests can be slow because the current test runner will discover all tests and then greps based on test title. The main issue appears to be the number of fs sys calls during setup. This does not happen on all systems, but on my system (Windows 10), especially in debug test discovery can take up to 6/7 seconds.

@fatcerberus
Copy link

This does not happen on all systems, but on my system (Windows 10), especially in debug test discovery can take up to 6/7 seconds.

A few years ago, this might have surprised me.

While I like Windows for day-to-day use, it's really overdue for a file system that's not NTFS. Windows 10/11 feel way slower than any other modern OS, even with a fast SSD, and it's becoming more and more obvious to me that like 99% of that is file system latency.

@RyanCavanaugh
Copy link
Member

The Windows team agreed - https://learn.microsoft.com/en-us/windows/dev-drive/

@RyanCavanaugh RyanCavanaugh added Help Wanted You can do this Infrastructure Issue relates to TypeScript team infrastructure labels Dec 15, 2023
@RyanCavanaugh RyanCavanaugh added this to the Backlog milestone Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Wanted You can do this Infrastructure Issue relates to TypeScript team infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants