summaryrefslogtreecommitdiff
path: root/ext/net/ops_unix.rs
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2022-11-10 03:56:02 -0800
committerGitHub <noreply@github.com>2022-11-10 17:26:02 +0530
commit110a0ebe690f83a21c87f1ef1a6a51af67e2a5fc (patch)
tree7da8bbe4db832f3011913e65654e3ef4cb1b63c3 /ext/net/ops_unix.rs
parentbc33a4b2e06dd5518e0d1bbf7b538d0b00df214d (diff)
perf(core): minimize trivial heap allocations in `resolve_async_ops` (#16584)
* Use stack allocated array for 16 promises and spill rest to heap. the exact number can change, maybe 128? (tokio's coop budget limit) * Avoid v8::Global::clone for global context. * Do not open global opresolve when its not needed.
Diffstat (limited to 'ext/net/ops_unix.rs')
0 files changed, 0 insertions, 0 deletions