CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 04:42:10 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/microsoft/TypeScript.git
etag: W/"b6727e030830ce3859c69a495dfa349f"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=XqNmdUrpzKUVsXhd2eBug4B5WI76RsBNSjzrp%2BJBvB27CGqtix8LnGDlj4TdVMi1vvEr3vEhE7kMbXyN91scRKd8hP%2FZa21FsOfFY7w9MnbdPG16XIIXU5vJ%2B6lMmeuAXex2zyW3i%2B2YbHmKKC1mYiHlCijq1ZhAhCM19FlyXz0l8zlMCi%2BvI%2FQRPnoBuVZ7Z9H%2F8RDOlWUW9u4sl%2B1UyFEBBwJz6shJl6ZgJzzy%2F6L60BEY09Fr4P12Ewjw3bW7wjkIIvf9NJlhCzMksi5Zaw%3D%3D--Kymiv%2BAQLaKuuaS6--YAHZo8qRoOq78pHwHOPzxg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.892256615.1752900129; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 04:42:09 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 04:42:09 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: CAEA:67A53:BA46F:FF533:687B2221
Build improvements (#48784) · microsoft/TypeScript@b8f6488 · GitHub
Dismiss banner
Copy file name to clipboardExpand all lines: src/compiler/builderPublic.ts
Copy file name to clipboardExpand all lines: src/compiler/builderState.ts
Copy file name to clipboardExpand all lines: src/compiler/builderStatePublic.ts
Copy file name to clipboardExpand all lines: src/compiler/commandLineParser.ts
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit b8f6488
authored
Build improvements (#48784)
* Use fixed time for vfs so baselining is consistent
* Baseline buildinfos
* Write new file text in baseline even if the file wasnt read on the shadow
* Remove unnecessary debugger statement
* Make sure that incremental correctness is checked with correct writeFile so we know buildInfo was written
Also baseline these so its easy to verify the changes
* More baselines for the tsbuildinfo
* If we are writing dts file and have used file text as version, we can update the signature when doing actual emit
* Make WriteFileCallback Api ready for future
* Assert that there is only single source file when emitting d.ts file
* Add test
* Renames
* More refactoring
* If we are updating dts of any of the file and it affects global scope, everything needs update in signature and dts emit
Fixes #42769
* Stacktrace optimization for getModified time in anticipation of using it more than fileExists wherever possible
* Baseline getModifiedTime, setModifiedTime, fileExits and directoryExits for experiment
* Remove unnecessary write file finger print code since its not used at all
* Use modified time instead of file existence check
* Remove unnecessary getModifiedTime
* No need to check for file existence before reading the d.ts file
* Do project reference errors before doing input/output file checks
* Dont call getModifiedTimes if dts change
* Passdown modified time if queried
* Use modified time passed through the file watching in tsbuild
* Handle force build as separate upto date status
* uptodate status worker to read buildinfo and use it to determine upto date ness
* No need to update output timestamps if buildinfo will determine uptodateness
* Store change file set instead of hasPendingChange to be able to reuse the information
* Add test that shows input file is not present
* No need to check input time stamp before buildinfo
* Keep buildinfos for lifetime of the solution builder and project
* Store modified time along with text of buildinfo
* Non composite projects dont need to track declaration change time
* Pass through buildInfo so we dont have to parse it back
* Save dts change time in buildinfo itself
* Store dts time for --out in the buildInfo
* Store hash of text in the bundle info so it can be verified before manipulating text for fast updates during prepend
This helps when text changes during incremental build toggling and we determine we can just manipulate text
* Since buildinfo is cached no need to maintain version check state
* Store output time stamps for non incremental builds
* Revert "Baseline getModifiedTime, setModifiedTime, fileExits and directoryExits for experiment"
This reverts commit 7e65cd3.
* Change verbose messages for upto date status
* Reconcile reusable builder state and builder state so there are not two different types that are almost similar looking
* Cleanup impliedFormat
* Cleanup
* Cleanup noEmit option
* BuildInfo options emit as a flag
* Factor out types for program written in buildinfo with and without bundle emit
* No need to store output file stamps if not in watch mode
* Cleanup
* Test for single watch per file
* Fix emit and error update baselines that were duplicate
* More refactoring
* Only copy emit state fields when backing up to restore if emit fails
* Instead of maintaining delta of changes, maintain old state for those changes
* Add test to verify build when input file does not change
* If version of the input file does not change, dont mark as out of date
* Disable lint warning as build fails without the assert
* Report aggregate statistics for solution as well as some solution perf numbers
* Options solutionDiagnostics instead so that its not too verbose when printing diagnostics
* When tsc --build --clean, only remove tsbuildinfo if its incremental build
* Revert "Options solutionDiagnostics instead so that its not too verbose when printing diagnostics"
This reverts commit 0cf9e30.
* Revert "Report aggregate statistics for solution as well as some solution perf numbers"
This reverts commit 405d8e9.
* Revert "When tsc --build --clean, only remove tsbuildinfo if its incremental build"
This reverts commit e4e6672.
* Comments in the code
* Feedback1 parent 7bff2dd commit b8f6488Copy full SHA for b8f6488
File tree
Expand file treeCollapse file tree
320 files changed
+17589
-14811
lines changedFilter options
- src
- compiler
- harness
- testRunner
- unittests
- tsbuild
- tscWatch
- tsc
- tsserver
- tests/baselines/reference
- api
- tsbuildWatch
- configFileErrors
- demo
- moduleResolutionCache
- moduleResolution
- noEmitOnError
- noEmit
- programUpdates
- reportErrors
- declarationEmitErrors
- introduceError
- with-circular-project-reference
- with-simple-project-reference-graph
- projectsBuilding
- publicApi
- reexport
- watchEnvironment
- tsbuild
- amdModulesWithOut
- configFileErrors
- configFileExtends
- containerOnlyReferenced
- declarationEmit
- demo
- emitDeclarationOnly
- emptyFiles
- inferredTypeFromTransitiveModule
- javascriptProjectEmit
- lateBoundSymbol
- moduleResolution
- moduleSpecifiers
- noEmitOnError
- outFile
- outfile-concat
- outputPaths
- projectReferenceWithRootDirInParent
- publicAPI
- resolveJsonModule
- sample1
- transitiveReferences
- tscWatch
- emitAndErrorUpdates
- assumeChangesOnlyAffectDirectDependenciesAndD
- deepImportChanges
- transitive-exports
- no-circular-import
- yes-circular-import
- assumeChangesOnlyAffectDirectDependencies
- deepImportChanges
- transitive-exports
- no-circular-import
- yes-circular-import
- defaultAndD
- deepImportChanges
- transitive-exports
- no-circular-import
- yes-circular-import
- default
- deepImportChanges
- transitive-exports
- no-circular-import
- yes-circular-import
- incremental
- assumeChangesOnlyAffectDirectDependenciesAndD
- assumeChangesOnlyAffectDirectDependencies
- defaultAndD
- default
- isolatedModulesAndD
- isolatedModules
- isolatedModulesAndD
- deepImportChanges
- transitive-exports
- no-circular-import
- yes-circular-import
- isolatedModules
- deepImportChanges
- transitive-exports
- no-circular-import
- yes-circular-import
- incremental
- module-compilation
- programUpdates
- projectsWithReferences
- sourceOfProjectReferenceRedirect
- watchApi
- tsc
- cancellationToken
- incremental
- tsserver/watchEnvironment
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
320 files changed
+17589
-14811
lines changed+308-242Lines changed: 308 additions & 242 deletions
Large diffs are not rendered by default.
src/compiler/builderPublic.ts
Copy file name to clipboardExpand all lines: src/compiler/builderPublic.ts+7-2Lines changed: 7 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
28 | 33 |
| |
29 | 34 |
| |
30 | 35 |
| |
| |||
34 | 39 |
| |
35 | 40 |
| |
36 | 41 |
| |
37 |
| - | |
| 42 | + | |
38 | 43 |
| |
39 |
| - | |
| 44 | + | |
40 | 45 |
| |
41 | 46 |
| |
42 | 47 |
| |
|
src/compiler/builderState.ts
Copy file name to clipboardExpand all lines: src/compiler/builderState.ts+64-122Lines changed: 64 additions & 122 deletions
Large diffs are not rendered by default.
src/compiler/builderStatePublic.ts
Copy file name to clipboardExpand all lines: src/compiler/builderStatePublic.ts+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| 13 | + | |
13 | 14 |
| |
14 | 15 |
|
src/compiler/commandLineParser.ts
Copy file name to clipboardExpand all lines: src/compiler/commandLineParser.ts+116-26Lines changed: 116 additions & 26 deletions
Large diffs are not rendered by default.
src/compiler/diagnosticMessages.json
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json+10-2Lines changed: 10 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5140 | 5140 |
| |
5141 | 5141 |
| |
5142 | 5142 |
| |
5143 |
| - | |
| 5143 | + | |
5144 | 5144 |
| |
5145 | 5145 |
| |
5146 | 5146 |
| |
5147 |
| - | |
| 5147 | + | |
5148 | 5148 |
| |
5149 | 5149 |
| |
5150 | 5150 |
| |
| |||
5322 | 5322 |
| |
5323 | 5323 |
| |
5324 | 5324 |
| |
| 5325 | + | |
| 5326 | + | |
| 5327 | + | |
| 5328 | + | |
| 5329 | + | |
| 5330 | + | |
| 5331 | + | |
| 5332 | + | |
5325 | 5333 |
| |
5326 | 5334 |
| |
5327 | 5335 |
| |
|
+46-9Lines changed: 46 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
366 | 366 |
| |
367 | 367 |
| |
368 | 368 |
| |
369 |
| - | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
370 | 372 |
| |
371 | 373 |
| |
372 | 374 |
| |
| |||
557 | 559 |
| |
558 | 560 |
| |
559 | 561 |
| |
| 562 | + | |
560 | 563 |
| |
561 | 564 |
| |
562 | 565 |
| |
563 | 566 |
| |
564 | 567 |
| |
565 | 568 |
| |
566 | 569 |
| |
567 |
| - | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
568 | 575 |
| |
569 | 576 |
| |
570 | 577 |
| |
| |||
709 | 716 |
| |
710 | 717 |
| |
711 | 718 |
| |
| 719 | + | |
| 720 | + | |
| 721 | + | |
712 | 722 |
| |
713 | 723 |
| |
714 | 724 |
| |
| |||
745 | 755 |
| |
746 | 756 |
| |
747 | 757 |
| |
| 758 | + | |
748 | 759 |
| |
749 |
| - | |
750 |
| - | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
751 | 774 |
| |
752 | 775 |
| |
| 776 | + | |
| 777 | + | |
753 | 778 |
| |
754 | 779 |
| |
755 | 780 |
| |
| 781 | + | |
| 782 | + | |
756 | 783 |
| |
757 | 784 |
| |
758 | 785 |
| |
| 786 | + | |
759 | 787 |
| |
760 | 788 |
| |
761 | 789 |
| |
| 790 | + | |
762 | 791 |
| |
763 |
| - | |
764 |
| - | |
765 | 792 |
| |
766 | 793 |
| |
767 | 794 |
| |
| |||
779 | 806 |
| |
780 | 807 |
| |
781 | 808 |
| |
| 809 | + | |
| 810 | + | |
782 | 811 |
| |
783 | 812 |
| |
784 | 813 |
| |
| |||
794 | 823 |
| |
795 | 824 |
| |
796 | 825 |
| |
797 |
| - | |
| 826 | + | |
798 | 827 |
| |
799 | 828 |
| |
800 | 829 |
| |
| |||
803 | 832 |
| |
804 | 833 |
| |
805 | 834 |
| |
806 |
| - | |
| 835 | + | |
807 | 836 |
| |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
808 | 842 |
| |
809 | 843 |
| |
810 | 844 |
| |
811 | 845 |
| |
812 | 846 |
| |
813 | 847 |
| |
814 | 848 |
| |
815 |
| - | |
| 849 | + | |
816 | 850 |
| |
817 | 851 |
| |
818 | 852 |
| |
| 853 | + | |
| 854 | + | |
819 | 855 |
| |
820 | 856 |
| |
821 | 857 |
| |
| |||
833 | 869 |
| |
834 | 870 |
| |
835 | 871 |
| |
| 872 | + | |
836 | 873 |
| |
837 | 874 |
| |
838 | 875 |
| |
|
+2-45Lines changed: 2 additions & 45 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
61 |
| - | |
62 |
| - | |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 |
| - | |
67 | 61 |
| |
68 | 62 |
| |
69 | 63 |
| |
70 | 64 |
| |
71 | 65 |
| |
72 |
| - | |
73 | 66 |
| |
74 | 67 |
| |
75 | 68 |
| |
76 |
| - | |
77 | 69 |
| |
78 | 70 |
| |
79 | 71 |
| |
| |||
113 | 105 |
| |
114 | 106 |
| |
115 | 107 |
| |
116 |
| - | |
| 108 | + | |
117 | 109 |
| |
118 | 110 |
| |
119 | 111 |
| |
| |||
127 | 119 |
| |
128 | 120 |
| |
129 | 121 |
| |
130 |
| - | |
131 |
| - | |
132 |
| - | |
133 |
| - | |
134 |
| - | |
135 |
| - | |
136 |
| - | |
137 |
| - | |
138 |
| - | |
139 |
| - | |
140 |
| - | |
141 |
| - | |
142 |
| - | |
143 |
| - | |
144 |
| - | |
145 |
| - | |
146 |
| - | |
147 |
| - | |
148 |
| - | |
149 |
| - | |
150 |
| - | |
151 |
| - | |
152 |
| - | |
153 |
| - | |
154 |
| - | |
155 |
| - | |
156 |
| - | |
157 |
| - | |
158 |
| - | |
159 |
| - | |
160 |
| - | |
161 |
| - | |
162 |
| - | |
163 |
| - | |
164 |
| - | |
165 |
| - | |
166 | 122 |
| |
167 | 123 |
| |
168 | 124 |
| |
| |||
1973 | 1929 |
| |
1974 | 1930 |
| |
1975 | 1931 |
| |
| 1932 | + | |
1976 | 1933 |
| |
1977 | 1934 |
| |
1978 | 1935 |
| |
|
You can’t perform that action at this time.
0 commit comments