Skip to content

Add documentation for the useCaseSensitiveFileNames option#1227

Merged
johnnyreilly merged 1 commit intoTypeStrong:masterfrom
berickson1:useCaseSensitiveFileNamesDocs
Dec 29, 2020
Merged

Add documentation for the useCaseSensitiveFileNames option#1227
johnnyreilly merged 1 commit intoTypeStrong:masterfrom
berickson1:useCaseSensitiveFileNamesDocs

Conversation

@berickson1
Copy link
Copy Markdown
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.
Comment thread README.md
@johnnyreilly johnnyreilly merged commit 8f2a509 into TypeStrong:master Dec 29, 2020
@johnnyreilly
Copy link
Copy Markdown
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