Michael James
Michael James
sharing some additional investigation i did today -- i manually wrapped the [`handleDidOpen()` function](https://github.com/microsoft/typescript-go/blob/62c88967c1a5402dbdc17c3d9ebd69fc376c8c24/internal/lsp/server.go#L278-L282) (LSP command `textDocument/didOpen`) with the pprof profiler and took a profile of an incremental update (opening...
@jakebailey just tried it out now (`Identifier: typescriptteam.native-preview`, `Version: 0.20250601.1`) at a high level the problem still persists, here are a subset of the logs after using go-to def on...
here's an updated `pprof` profile from `handleDidOpen()` -- the critical path seems to be dominated by updating file watchers (~15s) and visiting directories as part of `tryFindDefaultConfiguredProjectForOpenScriptInfo()` (5s). naively, both...
> What OS is this? @jakebailey it's linux (remote dev env)
closing this out as we don't really experience this anymore at Canva. unrelated to original ticket but we've seen over 10x+ speed gains for intellisense loading for one of our...
> I noticed that your June 17 comment where go-to-def was taking 4 seconds was before the snapshot LSP refactor, but either way, 4 seconds seems long for go-to-def. Has...
In case it's interesting to ya'll when testing on `tsconfig.all.json` the project load time is ~34s on a `64 GB memory, 8 vCPU` machine. The LSP consumes ~19.8 GiB of...
> Does this file exist somewhere, under node_modules perhaps? Curious if its a .js or .d.ts or what @tmm1 the declaration file is distributed in the `@types/react` npm package (`node_modules/@types/react/jsx-runtime.d.ts`)...
unsure if this is the same issue, however I work for a company with a large mono-repo containing many TS projects. one of our leaf projects contains a `Button` export...
I've chased the problem down to here: https://github.com/microsoft/TypeScript/blob/beb69e4cdd61b1a0fd9ae21ae58bd4bd409d7217/src/server/editorServices.ts#L4769-L4770 Our [_solution_ level `tsconfig.json`](https://www.typescriptlang.org/docs/handbook/project-references.html#overall-structure) contains the following config: ```json { "files": [], "include": [], "references": [ { "path": "..." }, { "path":...