Title: Building performance is slowdown · Issue #28025 · microsoft/TypeScript · GitHub
Open Graph Title: Building performance is slowdown · Issue #28025 · microsoft/TypeScript
X Title: Building performance is slowdown · Issue #28025 · microsoft/TypeScript
Description: TypeScript Version: 3.2.0-dev.201xxxxx Search Terms: performance, slowdown, degradation Code: After upgrading to typescript 3.1.3, our application has been building for a very long time. The total time has increased tenfold. By profiling...
Open Graph Description: TypeScript Version: 3.2.0-dev.201xxxxx Search Terms: performance, slowdown, degradation Code: After upgrading to typescript 3.1.3, our application has been building for a very long time. The total ...
X Description: TypeScript Version: 3.2.0-dev.201xxxxx Search Terms: performance, slowdown, degradation Code: After upgrading to typescript 3.1.3, our application has been building for a very long time. The total ...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/28025
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Building performance is slowdown","articleBody":"\u003c!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. -->\r\n**TypeScript Version:** 3.2.0-dev.201xxxxx\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\nperformance, slowdown, degradation\r\n\r\n**Code:**\r\nAfter upgrading to typescript 3.1.3, our application has been building for a very long time. The total time has increased tenfold. By profiling the build, I found the reason for the slowdown in performance.\r\n\r\n\u003cimg width=\"278\" alt=\"screenshot 2018-10-21 at 16 19 02\" src=\"https://user-images.githubusercontent.com/1910515/47267531-c939b300-d54d-11e8-99df-a18b1fc0d854.png\">\r\n\r\nThe screenshot shows a call to this method:\r\nhttps://github.com/Microsoft/TypeScript/pull/26192/files#diff-08a3cc4f1f9a51dbb468c2810f5229d3R968\r\n```typescript\r\noldProgramState.program.getSourceFiles().find(...)\r\n```\r\n\r\nWhen I rolled back the commit changes, the performance problem was solved. But I don’t know how to fix that and so that the PR assertion pass:\r\nhttps://github.com/Microsoft/TypeScript/pull/26192/files#diff-6f2ace9c4058a2bb2afe0560f9990e33R402\r\n\r\n**Expected behavior:**\r\nPerformance improvement\r\n\r\n**Actual behavior:**\r\nPerformance is slowdown\r\n\r\n**Related Issues:** \u003c!-- Did you find other bugs that looked similar? -->\r\nhttps://github.com/Microsoft/TypeScript/pull/26192\r\n","author":{"url":"https://github.com/thekiba","@type":"Person","name":"thekiba"},"datePublished":"2018-10-21T13:36:44Z","url":"https://github.com/microsoft/TypeScript/issues/28025"}
| 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:8c5e3b4e-9df6-4712-baa0-df09fa5be8d0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8724:3A05E7:763CD:9D62E:6B015D09 |
| html-safe-nonce | 56f8568bad3c957212104f3105e218fd08a807cd965ae3df831b2089a62927d1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzI0OjNBMDVFNzo3NjNDRDo5RDYyRTo2QjAxNUQwOSIsInZpc2l0b3JfaWQiOiIyMTg3MzkwODA2NTc3NDcwNzI5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 18c6e7a211739d68f2633a2afe7364b72091565a40b68862cc1c414ca5f247bc |
| hovercard-subject-tag | issue:372315717 |
| 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/28025/issue_layout |
| twitter:image | https://opengraph.githubassets.com/590f1de91f691a1c41c102194f92f9932c25883fb325fede1845d515be35fd78/microsoft/TypeScript/issues/28025 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/590f1de91f691a1c41c102194f92f9932c25883fb325fede1845d515be35fd78/microsoft/TypeScript/issues/28025 |
| og:image:alt | TypeScript Version: 3.2.0-dev.201xxxxx Search Terms: performance, slowdown, degradation Code: After upgrading to typescript 3.1.3, our application has been building for a very long time. The total ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | thekiba |
| 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