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

Add documentation for the useCaseSensitiveFileNames option #1227

Merged

Conversation

berickson1
Copy link
Contributor

@berickson1 berickson1 commented Dec 29, 2020

Setting this option on projects with lots of files can reduce compilation time. Case-insensitivty requires normalization of file paths, which involves executing regex's. This shows up in the hot path of compilation profiling.
Switching to case sensitive file names skips the normalization step and increases build speed by ~5% (closed-source project, sorry)

Setting this option on projects with lots of files can reduce compilation time. Case-insensitivty requires normalization of file paths, which involves executing regex's. This shows up in the hot path of compilation profiling.
@johnnyreilly johnnyreilly merged commit 8f2a509 into TypeStrong:master Dec 29, 2020
@johnnyreilly
Copy link
Member

Thanks!

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