Title: TSServer: performance problems after typing when using tsconfig.json in large project · Issue #2830 · microsoft/TypeScript · GitHub
Open Graph Title: TSServer: performance problems after typing when using tsconfig.json in large project · Issue #2830 · microsoft/TypeScript
X Title: TSServer: performance problems after typing when using tsconfig.json in large project · Issue #2830 · microsoft/TypeScript
Description: Here is my setup tsconfig.json with the following content: { "compilerOptions": { "module": "amd", "noImplicitAny": true, "removeComments": false, "preserveConstEnums": true, "target": "ES5", "sourceMap": false } } Our workspace has arou...
Open Graph Description: Here is my setup tsconfig.json with the following content: { "compilerOptions": { "module": "amd", "noImplicitAny": true, "removeComments": false, "preserveConstEnums": true, "target": "ES5", "sour...
X Description: Here is my setup tsconfig.json with the following content: { "compilerOptions": { "module": "amd", "noImplicitAny": true, "removeComments": false, ...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/2830
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TSServer: performance problems after typing when using tsconfig.json in large project","articleBody":"Here is my setup\n\ntsconfig.json with the following content:\n{\n \"compilerOptions\": {\n \"module\": \"amd\",\n \"noImplicitAny\": true,\n \"removeComments\": false,\n \"preserveConstEnums\": true,\n \"target\": \"ES5\",\n \"sourceMap\": false\n }\n}\n\nOur workspace has around 900 ts files which are all covered by the above tsconfig.json\n\nSteps to reproduce:\n- open any file is such a workspace\n- request completions via the tsserver\n- type a character in that file\n- request completions again. \n\nObserve: fulfilling this request takes between 1800 and 2000 ms on my Lenevo T430s\n\nI debugged it a little and around 90% of the time is spend in sznchronizeHostData, and there in createProgram. It looks like that all files listed in a tsconfig.json are treated as root files and changing one file flushes the whole compiler. \n","author":{"url":"https://github.com/dbaeumer","@type":"Person","name":"dbaeumer"},"datePublished":"2015-04-19T19:19:32Z","url":"https://github.com/microsoft/TypeScript/issues/2830"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1db9e7dd-18d9-c490-1990-f1b4e6dba41f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E3E8:3E4205:D8AAE3:122CE71:6B01042C |
| html-safe-nonce | 033ff601d18959c18abbce24e40ec77cd7ec4b66d3acde5d18f7b5f9c7beaac5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0U4OjNFNDIwNTpEOEFBRTM6MTIyQ0U3MTo2QjAxMDQyQyIsInZpc2l0b3JfaWQiOiIzMTA5MzM4NzkyNTk1NjIwOTA4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0808447ed3b038e4562ad2185453cce95f31d8719bd64c8132502a94869f7882 |
| hovercard-subject-tag | issue:69455142 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/2830/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9965809ade3988a720c82bb5958114f48f2dccec8489cdcc456592fec4a515bd/microsoft/TypeScript/issues/2830 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9965809ade3988a720c82bb5958114f48f2dccec8489cdcc456592fec4a515bd/microsoft/TypeScript/issues/2830 |
| og:image:alt | Here is my setup tsconfig.json with the following content: { "compilerOptions": { "module": "amd", "noImplicitAny": true, "removeComments": false, "preserveConstEnums": true, "target": "ES5", "sour... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dbaeumer |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width