Title: TypeScript compiler stucks with --incremental flag · Issue #31258 · microsoft/TypeScript · GitHub
Open Graph Title: TypeScript compiler stucks with --incremental flag · Issue #31258 · microsoft/TypeScript
X Title: TypeScript compiler stucks with --incremental flag · Issue #31258 · microsoft/TypeScript
Description: TypeScript Version: 3.4.5 Search Terms: stuck, slow, incremental Code https://github.com/ms-qinyang/typescript-stuck-incremental run npm run buildIncremental PS D:\stuck-with-incremental> Measure-Command { npm run build | Out-Host } > st...
Open Graph Description: TypeScript Version: 3.4.5 Search Terms: stuck, slow, incremental Code https://github.com/ms-qinyang/typescript-stuck-incremental run npm run buildIncremental PS D:\stuck-with-incremental> Measure-C...
X Description: TypeScript Version: 3.4.5 Search Terms: stuck, slow, incremental Code https://github.com/ms-qinyang/typescript-stuck-incremental run npm run buildIncremental PS D:\stuck-with-incremental> Measur...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/31258
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TypeScript compiler stucks with --incremental flag","articleBody":"\u003c!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨\r\n\r\nHalf of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common \"Bugs\" That Aren't Bugs section!\r\n\r\nPlease help us by doing the following steps before logging an issue:\r\n * Search: https://github.com/Microsoft/TypeScript/search?type=Issues\r\n * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ\r\n\r\nPlease fill in the *entire* template below.\r\n-->\r\n\r\n\u003c!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. -->\r\n**TypeScript Version:** 3.4.5\r\n\r\n\u003c!-- Search terms you tried before logging this (so others can find this issue more easily) -->\r\n**Search Terms:**\r\nstuck, slow, incremental\r\n\r\n**Code**\r\n\r\nhttps://github.com/ms-qinyang/typescript-stuck-incremental\r\n\r\nrun `npm run buildIncremental`\r\n\r\n```powershell\r\nPS D:\\stuck-with-incremental> Measure-Command { npm run build | Out-Host }\r\n\r\n> stuck-with-incremental@1.0.0 build D:\\stuck-with-incremental\r\n> tsc -p .\r\n\r\n\r\n\r\nDays : 0\r\nHours : 0\r\nMinutes : 0\r\nSeconds : 1\r\nMilliseconds : 890\r\nTicks : 18903973\r\nTotalDays : 2.18795983796296E-05\r\nTotalHours : 0.000525110361111111\r\nTotalMinutes : 0.0315066216666667\r\nTotalSeconds : 1.8903973\r\nTotalMilliseconds : 1890.3973\r\n\r\n\r\n\r\nPS D:\\stuck-with-incremental> Measure-Command { npm run buildIncremental | Out-Host }\r\n\r\n> stuck-with-incremental@1.0.0 buildIncremental D:\\stuck-with-incremental\r\n> tsc -p ./tsconfig-incremental.json\r\n\r\n\r\n\r\nDays : 0\r\nHours : 0\r\nMinutes : 1\r\nSeconds : 3\r\nMilliseconds : 989\r\nTicks : 639891999\r\nTotalDays : 0.000740615739583333\r\nTotalHours : 0.01777477775\r\nTotalMinutes : 1.066486665\r\nTotalSeconds : 63.9891999\r\nTotalMilliseconds : 63989.1999\r\n```\r\n\r\n**Expected behavior:**\r\n\r\nCompiler should be finished in a short time\r\n\r\n**Actual behavior:**\r\n\r\nCompiler takes more than 1 minute to finish. Since the real project has many files, the compiler won't be finished in an acceptable time. This breaks typecheck in `create-react-app` after 2.1.8\r\n\r\n**Related Issues:** \u003c!-- Did you find other bugs that looked similar? -->\r\n","author":{"url":"https://github.com/ms-qinyang","@type":"Person","name":"ms-qinyang"},"datePublished":"2019-05-05T10:16:57Z","url":"https://github.com/microsoft/TypeScript/issues/31258"}
| 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:db9bc2fb-bfb0-d0da-e63e-b628ccf4e3c0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9EB0:1148D3:2EA7585:3B8C378:6B01C6B3 |
| html-safe-nonce | fedeaf08d59c31e9eec4eb9aee0234d9d6bb61983c7d9027a3cbba00e2219818 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUIwOjExNDhEMzoyRUE3NTg1OjNCOEMzNzg6NkIwMUM2QjMiLCJ2aXNpdG9yX2lkIjoiODAyOTkyMDUzODI4MzU5MTM0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 872105db40c3ad15d1ebceac4d894025963f3c86f905ce137b7d7614658a4969 |
| hovercard-subject-tag | issue:440427688 |
| 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/31258/issue_layout |
| twitter:image | https://opengraph.githubassets.com/eb4d17361a6b68b9231fb25c03a3a6c20f0b903c20efc98a86c95a7d95db6adb/microsoft/TypeScript/issues/31258 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eb4d17361a6b68b9231fb25c03a3a6c20f0b903c20efc98a86c95a7d95db6adb/microsoft/TypeScript/issues/31258 |
| og:image:alt | TypeScript Version: 3.4.5 Search Terms: stuck, slow, incremental Code https://github.com/ms-qinyang/typescript-stuck-incremental run npm run buildIncremental PS D:\stuck-with-incremental> Measure-C... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ms-qinyang |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width