Skip to content

perf(core,init,www): use deno serve --parallel#2896

Closed
iuioiua wants to merge 13 commits into
freshframework:mainfrom
iuioiua:deno-serve
Closed

perf(core,init,www): use deno serve --parallel#2896
iuioiua wants to merge 13 commits into
freshframework:mainfrom
iuioiua:deno-serve

Conversation

@iuioiua

@iuioiua iuioiua commented May 7, 2025

Copy link
Copy Markdown
Contributor

This PR changes the start task to use deno serve --parallel instead of deno run and app.listen(). This allows the server to run on multiple threads. In Nathan's tech talk on the feature, this resulted in a ~5x improvement of throughput for deno.com.

Closes #2640

@iuioiua iuioiua changed the title feat(core,init,www): use deno serve perf(core,init,www): use deno serve May 7, 2025
@iuioiua iuioiua changed the title perf(core,init,www): use deno serve perf(core,init,www): use deno serve --parallel May 7, 2025
@iuioiua iuioiua closed this May 23, 2025
@iuioiua iuioiua deleted the deno-serve branch May 23, 2025 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

deno serve --parallel

1 participant