diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2022-04-19 20:11:31 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-19 20:11:31 +0530 |
commit | 1c05e41f37da022971f0090b2a92e6340d230055 (patch) | |
tree | bff62a80b6d9a43b1c73b1b292f85a5095243982 /runtime/js | |
parent | 3d1123f8b09cecfa57a93d8b8b7d19af2b45f070 (diff) |
perf(runtime): bypass tokio file and bump op buffer size to 64K (#14319)
Diffstat (limited to 'runtime/js')
-rw-r--r-- | runtime/js/12_io.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/js/12_io.js b/runtime/js/12_io.js index 2e466c81f..ab0839ec6 100644 --- a/runtime/js/12_io.js +++ b/runtime/js/12_io.js @@ -114,7 +114,7 @@ return core.write(rid, data); } - const READ_PER_ITER = 16 * 1024; // 16kb, see https://github.com/denoland/deno/issues/10157 + const READ_PER_ITER = 64 * 1024; // 64kb function readAll(r) { return readAllInner(r); |