Skip to content

Commit ab2380e

Browse files
committed
Website: document reason for TypeScript slowness
1 parent 0841135 commit ab2380e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

website/public/benchmarks/index.ejs.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,22 @@ <h3>Deno</h3>
148148
>. This means that Deno appears to be much slower than it actually is,
149149
but this artificial latency does affect the editing experience.
150150
</p>
151+
<h3>TypeScript</h3>
152+
<p>
153+
TypeScript's LSP server (but not its Visual Studio Code extension)
154+
delays processing by
155+
<a
156+
href="https://github.com/typescript-language-server/typescript-language-server/blob/103f00c0d969bf00345ae9f5f8c2d1882c710a01/src/lsp-server.ts#L250"
157+
>200 milliseconds</a
158+
>
159+
+
160+
<a
161+
href="https://github.com/typescript-language-server/typescript-language-server/blob/103f00c0d969bf00345ae9f5f8c2d1882c710a01/src/diagnostic-queue.ts#L33"
162+
>50 milliseconds</a
163+
>. This means that TypeScript appears to be much slower than it
164+
actually is, but this artificial latency does affect the editing
165+
experience (in all editors except Visual Studio Code).
166+
</p>
151167
</article>
152168
</main>
153169

0 commit comments

Comments
 (0)