mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
A modern runtime for JavaScript and TypeScript.
https://deno.com/
7807afa972
Additionally, instead of polling ops in a loop until none of them are ready, the isolate will now yield to the task system after delivering the first batch of completed ops to the javascript side. Although this makes performance a bit worse (about 15% fewer requests/second on the 'deno_core_http_bench' benchmark), we feel that the advantages are worth it: * It resolves the extremely high worst-case latency that we were seeing on deno_core_http_bench, in particular when using the multi-threaded Tokio runtime, which would sometimes exceed a full second. * Before this patch, the implementation of Isolate::poll() had to loop through all sub-futures and poll each one of them, which doesn't scale well as the number of futures managed by the isolate goes up. This could lead to poor performance when e.g. a server is servicing thousands of connected clients. |
||
---|---|---|
.github | ||
build@89b12c4642 | ||
build_extra | ||
cli | ||
core | ||
js | ||
prebuilt | ||
tests | ||
third_party@f512ec385a | ||
tools | ||
website | ||
.appveyor.yml | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.json | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.gn | ||
.prettierignore | ||
.prettierrc.json | ||
.rustfmt.toml | ||
.travis.yml | ||
.yarnclean | ||
BUILD.gn | ||
build_overrides | ||
buildtools | ||
Cargo.lock | ||
Cargo.toml | ||
deno.gni | ||
Docs.md | ||
gclient_config.py | ||
LICENSE | ||
node_modules | ||
package.json | ||
README.md | ||
Releases.md | ||
rollup.config.js | ||
testing | ||
tsconfig.json |
deno
A secure runtime for JavaScript and TypeScript built with V8, Rust, and Tokio.
Linux & Mac | Windows |
---|---|
Deno aims to provide a productive and secure scripting environment for the modern programmer. It is built on top of V8, Rust, and TypeScript.
Please read the introduction for more specifics.