Title: Language features extremely slow + >100% CPU usage · Issue #39284 · microsoft/TypeScript · GitHub
Open Graph Title: Language features extremely slow + >100% CPU usage · Issue #39284 · microsoft/TypeScript
X Title: Language features extremely slow + >100% CPU usage · Issue #39284 · microsoft/TypeScript
Description: Issue Type: Performance Issue VSCode is super slow to: autocomplete Doesn't trigger automatically, and when pressing ctr+space, it take ages to load autocomplete imports Seems almot impossible to autocomplete imports report TS errors Whi...
Open Graph Description: Issue Type: Performance Issue VSCode is super slow to: autocomplete Doesn't trigger automatically, and when pressing ctr+space, it take ages to load autocomplete imports Seems almot impossible to a...
X Description: Issue Type: Performance Issue VSCode is super slow to: autocomplete Doesn't trigger automatically, and when pressing ctr+space, it take ages to load autocomplete imports Seems almot impossible ...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/39284
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Language features extremely slow + >100% CPU usage","articleBody":"Issue Type: \u003cb>Performance Issue\u003c/b>\r\n\r\nVSCode is super slow to:\r\n- autocomplete\r\nDoesn't trigger automatically, and when pressing ctr+space, it take ages to load\r\n- autocomplete imports\r\nSeems almot impossible to autocomplete imports\r\n- report TS errors\r\nWhile I'm typing, VSCode takes a few seconds before updating the errors on the screen, it continues reporting errors where there were some before and doesn't show the new ones\r\n\r\nCPU usage is also > 100% whenever I'm typing anything\r\n\r\nVS Code version: Code 1.46.1 (cd9ea6488829f560dc949a8b2fb789f3cdc05f5d, 2020-06-17T21:17:14.222Z)\r\nOS version: Darwin x64 18.7.0\r\n\r\n\u003cdetails>\r\n\u003csummary>System Info\u003c/summary>\r\n\r\n|Item|Value|\r\n|---|---|\r\n|CPUs|Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)|\r\n|GPU Status|2d_canvas: enabled\u003cbr>flash_3d: enabled\u003cbr>flash_stage3d: enabled\u003cbr>flash_stage3d_baseline: enabled\u003cbr>gpu_compositing: enabled\u003cbr>metal: disabled_off\u003cbr>multiple_raster_threads: enabled_on\u003cbr>oop_rasterization: disabled_off\u003cbr>protected_video_decode: unavailable_off\u003cbr>rasterization: enabled\u003cbr>skia_renderer: disabled_off_ok\u003cbr>video_decode: enabled\u003cbr>viz_display_compositor: enabled_on\u003cbr>viz_hit_test_surface_layer: disabled_off_ok\u003cbr>webgl: enabled\u003cbr>webgl2: enabled|\r\n|Load (avg)|3, 2, 2|\r\n|Memory (System)|16.00GB (2.01GB free)|\r\n|Process Argv|--disable-extensions Maze.code-workspace|\r\n|Screen Reader|no|\r\n|VM|0%|\r\n\u003c/details>\u003cdetails>\r\n\u003csummary>Process Info\u003c/summary>\r\n\r\n```\r\nCPU %\tMem MB\t PID\tProcess\r\n 13\t 115\t 35505\tcode main\r\n 10\t 66\t 35538\t gpu-process\r\n 0\t 33\t 35540\t utility\r\n 67\t 311\t 35541\t window (index.ts — Maze (Workspace))\r\n 7\t 98\t 35544\t extensionHost\r\n 0\t 82\t 35815\t electron_node tsserver.js \r\n 102\t 393\t 35816\t electron_node tsserver.js \r\n 0\t 82\t 35840\t electron_node typingsInstaller.js typesMap.js \r\n 0\t 49\t 36111\t /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Renderer).app/Contents/MacOS/Code Helper (Renderer) /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/jsonServerMain --node-ipc --clientProcessId=35544\r\n 0\t 0\t 35545\t zsh -l\r\n 0\t 33\t 35554\t watcherService\r\n 0\t 49\t 36363\t searchService\r\n 11\t 115\t 36011\t shared-process\r\n 0\t 0\t 36396\t /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=\r\n 30\t 66\t 36390\t window (Issue Reporter)\r\n```\r\n\r\n\u003c/details>\r\n\u003cdetails>\r\n\u003csummary>Workspace Info\u003c/summary>\r\n\r\n```\r\n| Window (index.ts — Maze (Workspace))\r\n| Folder (edge): 10 files\r\n| File types: json(4) gitignore(1) yml(1) js(1) lock(1)\r\n| Conf files: package.json(1)\r\n| Folder (recording): 24 files\r\n| File types: js(8) json(3) babelrc(1) editorconfig(1) gitignore(1)\r\n| npmignore(1) nvmrc(1) prettierrc(1) md(1) yml(1)\r\n| Conf files: package.json(1) webpack.config.js(1)\r\n| Folder (notifier): 26 files\r\n| File types: js(10) json(2) babelrc(1) editorconfig(1) gitignore(1)\r\n| npmignore(1) nvmrc(1) prettierrc(1) md(1) yml(1)\r\n| Conf files: package.json(1) webpack.config.js(1)\r\n| Folder (referral_service): 26 files\r\n| File types: js(10) json(2) babelrc(1) editorconfig(1) gitignore(1)\r\n| npmignore(1) nvmrc(1) prettierrc(1) md(1) yml(1)\r\n| Conf files: package.json(1) webpack.config.js(1)\r\n| Folder (order_testers): 28 files\r\n| File types: js(9) json(4) babelrc(1) editorconfig(1) gitignore(1)\r\n| nvmrc(1) prettierrc(1) yml(1) snap(1) lock(1)\r\n| Conf files: package.json(1) webpack.config.js(1)\r\n| Folder (utils): 43 files\r\n| File types: js(15) json(6) md(2) babelrc(1) editorconfig(1)\r\n| gitignore(1) npmignore(1) nvmrc(1) prettierrc(1)\r\n| gitkeep(1)\r\n| Conf files: package.json(1) webpack.config.js(1)\r\n| Folder (page_service): 37 files\r\n| File types: js(11) json(2) babelrc(1) dockerignore(1) editorconfig(1)\r\n| gitignore(1) npmignore(1) npmrc(1) nvmrc(1)\r\n| prettierrc(1)\r\n| Conf files: package.json(1) webpack.config.js(1)\r\n| Folder (project_service): 123 files\r\n| File types: js(74) json(9) zip(9) babelrc(1) editorconfig(1)\r\n| gitignore(1) npmignore(1) nvmrc(1) prettierrc(1) md(1)\r\n| Conf files: package.json(1) webpack.config.js(1)\r\n| Folder (sl-api): 109 files\r\n| File types: js(60) md(2) json(2) babelrc(1) editorconfig(1)\r\n| gitignore(1) npmignore(1) nvmrc(1) prettierrc(1)\r\n| yml(1)\r\n| Conf files: package.json(1) webpack.config.js(1)\r\n| Folder (maze-api-core): 288 files\r\n| File types: js(183) json(5) babelrc(1) yml(1) editorconfig(1)\r\n| eslintignore(1) eslintrc(1) gitignore(1) jshintrc(1)\r\n| npmignore(1)\r\n| Conf files: jsconfig.json(1) package.json(1)\r\n| Folder (maze-api): 356 files\r\n| File types: js(210) id(15) db(7) config(6) json(4) yml(2) names(2)\r\n| lock(2) babelrc(1) editorconfig(1)\r\n| Conf files: jsconfig.json(1) package.json(1)\r\n| Folder (maze-dashboard): 373 files\r\n| File types: js(246) png(4) json(3) scss(3) yml(1) env(1) gitignore(1)\r\n| npmrc(1) nvmrc(1) md(1)\r\n| Conf files: jsconfig.json(1) package.json(1)\r\n| Folder (maze-components): 1274 files\r\n| File types: js(451) svg(246) json(88) snap(73) mdx(68) DS_Store(3)\r\n| html(3) babelrc(2) eslintrc(2) md(2)\r\n| Conf files: package.json(2) webpack.config.js(1)\r\n| Folder (maze-webapp): 3908 files\r\n| File types: js(2132) png(187) json(151) svg(105) jpg(45) scss(29)\r\n| mp4(21) ts(18) gif(12) snap(7)\r\n| Conf files: github-actions(1) settings.json(1) jsconfig.json(1)\r\n| package.json(1) tsconfig.json(1);\r\n```\r\n\r\n\u003c/details>\r\nExtensions disabled\r\n\u003c!-- generated by issue reporter -->","author":{"url":"https://github.com/tgroutars","@type":"Person","name":"tgroutars"},"datePublished":"2020-06-26T12:39:54Z","url":"https://github.com/microsoft/TypeScript/issues/39284"}
| 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:b87c123d-2428-9687-5599-d140dfb4f29a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D47A:1D20B7:2180685:2A7AAEA:6B01ADCE |
| html-safe-nonce | d02c427a0cec1688a511c26912cf0ef1b1b84ad52a0e6d5cc0ce5f82ff4cb823 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDdBOjFEMjBCNzoyMTgwNjg1OjJBN0FBRUE6NkIwMUFEQ0UiLCJ2aXNpdG9yX2lkIjoiMTUwNDE5NTg3NzgzNTc0Njc2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0ae492902ea5aa659d6a67825c919b74967930843102ea812d08381747c49c67 |
| hovercard-subject-tag | issue:646515931 |
| 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/39284/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cd2f7abd0a699c5bc52862d94d46e78cad0fab4b6fabbb717fce04bc655d7248/microsoft/TypeScript/issues/39284 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cd2f7abd0a699c5bc52862d94d46e78cad0fab4b6fabbb717fce04bc655d7248/microsoft/TypeScript/issues/39284 |
| og:image:alt | Issue Type: Performance Issue VSCode is super slow to: autocomplete Doesn't trigger automatically, and when pressing ctr+space, it take ages to load autocomplete imports Seems almot impossible to a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tgroutars |
| 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