Title: ~50x regression in type instantiation count between 3.3 and 3.4 · Issue #30819 · microsoft/TypeScript · GitHub
Open Graph Title: ~50x regression in type instantiation count between 3.3 and 3.4 · Issue #30819 · microsoft/TypeScript
X Title: ~50x regression in type instantiation count between 3.3 and 3.4 · Issue #30819 · microsoft/TypeScript
Description: TypeScript Version: 3.4.0 Search Terms: slow styled-components Code import styled from "styled-components"; declare const arr: TemplateStringsArray; const k = styled.div(arr); Expected behavior: Type instantiation count < ~10k, check tim...
Open Graph Description: TypeScript Version: 3.4.0 Search Terms: slow styled-components Code import styled from "styled-components"; declare const arr: TemplateStringsArray; const k = styled.div(arr); Expected behavior: Ty...
X Description: TypeScript Version: 3.4.0 Search Terms: slow styled-components Code import styled from "styled-components"; declare const arr: TemplateStringsArray; const k = styled.div(arr); Expected be...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/30819
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"~50x regression in type instantiation count between 3.3 and 3.4","articleBody":"**TypeScript Version:** 3.4.0\r\n\r\n**Search Terms:** slow styled-components\r\n\r\n**Code**\r\n\r\n```ts\r\nimport styled from \"styled-components\";\r\n\r\ndeclare const arr: TemplateStringsArray;\r\nconst k = styled.div(arr);\r\n```\r\n\r\n**Expected behavior:** Type instantiation count \u003c ~10k, check time \u003c 0.1s\r\n\r\n**Actual behavior:** Instantiation count ~47k, check time ~2.5s","author":{"url":"https://github.com/RyanCavanaugh","@type":"Person","name":"RyanCavanaugh"},"datePublished":"2019-04-08T22:00:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":15},"url":"https://github.com/30819/TypeScript/issues/30819"}
| 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:e3e7016d-d994-59ae-4e61-5352953fbd29 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 977A:BB006:7174F2:9CE4F9:6A627BC3 |
| html-safe-nonce | 54b4662c4fa231d22ac96c0d52d9c26a5036fa1a85bfa09056c4821f3517b498 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzdBOkJCMDA2OjcxNzRGMjo5Q0U0Rjk6NkE2MjdCQzMiLCJ2aXNpdG9yX2lkIjoiNDU0NDU1MDEyMzY4ODA2NTk4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8ada191f2ee1809c6a0b849017cbacdc7547f57b8afff4ea5e57d5f45c3b5987 |
| hovercard-subject-tag | issue:430677986 |
| 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/30819/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bf6714e781572be152659ccbb4cdd9d7568c8a58e03d0b0112d74ab137f66e72/microsoft/TypeScript/issues/30819 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bf6714e781572be152659ccbb4cdd9d7568c8a58e03d0b0112d74ab137f66e72/microsoft/TypeScript/issues/30819 |
| og:image:alt | TypeScript Version: 3.4.0 Search Terms: slow styled-components Code import styled from "styled-components"; declare const arr: TemplateStringsArray; const k = styled.div(arr); Expected behavior: Ty... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | RyanCavanaugh |
| hostname | github.com |
| expected-hostname | github.com |
| None | 838e87bd0e4f5415707a930bc14e89e382dc2ea046e50ff575252eb2f2cb06a2 |
| 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 | f0081192f88523d2bf4cfdf22bb3e138affc4cd1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width