0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
Yash Ladha 6faa162f55
lib: changed functional logic in cluster schedulers
Free pool in round_robin scheduler is implemented as an array. There
were constant lookups being for distributing load on other workers in
free pool. Reimplementing in Map will create will be more performant as
compared to Array implementation. This was done for all in past but free
wasn't implemented at that time.

PR-URL: https://github.com/nodejs/node/pull/32505
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
2020-04-07 20:36:20 +02:00
..
fs fs: add fs/promises alias module 2020-02-18 22:15:50 -08:00
internal lib: changed functional logic in cluster schedulers 2020-04-07 20:36:20 +02:00
_http_agent.js http: move free socket error handling to agent 2020-03-30 10:25:03 +02:00
_http_client.js http: fix incorrect headersTimeout measurement 2020-04-02 14:50:20 +02:00
_http_common.js http: fix incorrect headersTimeout measurement 2020-04-02 14:50:20 +02:00
_http_incoming.js stream: make readable & writable computed 2020-02-08 23:23:12 +01:00
_http_outgoing.js http: don't emit 'finish' after 'error' 2020-03-18 13:09:26 +01:00
_http_server.js http: fix incorrect headersTimeout measurement 2020-04-02 14:50:20 +02:00
_stream_duplex.js stream: align stream.Duplex with net.Socket 2020-03-25 15:20:22 +01:00
_stream_passthrough.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
_stream_readable.js stream: use callback to properly propagate error 2020-04-03 19:00:28 +02:00
_stream_transform.js stream: change var to let/const in stream files 2020-03-30 10:25:41 +02:00
_stream_wrap.js
_stream_writable.js stream: use callback to properly propagate error 2020-04-03 19:00:28 +02:00
_tls_common.js tls: for...of in _tls_common.js 2019-12-17 08:11:13 -05:00
_tls_wrap.js net: make readable/writable start as true 2020-03-24 09:45:25 +01:00
.eslintrc.yaml lib: replace BigInt64Array global by the primordials 2020-01-13 12:42:21 +01:00
assert.js Revert "assert: fix line number calculation after V8 upgrade" 2020-03-18 16:35:41 -07:00
async_hooks.js async_hooks: move to lazy destroy hook registration in AsyncResource 2020-04-06 16:14:43 +02:00
buffer.js buffer: improve from() performance 2020-02-08 21:40:49 -05:00
child_process.js lib: replace use of Error with primordials 2020-01-04 14:50:18 -08:00
cluster.js
console.js
constants.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
crypto.js crypto: add crypto.diffieHellman 2020-01-21 10:49:20 -04:00
dgram.js lib: move isLegalPort to validators, refactor 2020-03-05 11:52:53 -08:00
dns.js dns: remove duplicate code 2020-04-07 20:35:07 +02:00
domain.js lib: replace Map global by the primordials 2020-01-04 14:56:52 -08:00
events.js events: fix removeListener for Symbols 2020-03-07 10:47:12 -08:00
fs.js fs: make parameters optional for readSync 2020-04-02 18:34:31 +02:00
http2.js
http.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
https.js https: prevent options object from being mutated 2020-01-03 20:09:27 -08:00
inspector.js lib: replace Map global by the primordials 2020-01-04 14:56:52 -08:00
module.js module: add API for interacting with source maps 2020-01-14 12:39:06 -08:00
net.js net: autoDestroy Socket 2020-04-02 23:38:32 +02:00
os.js src: create a getter for kernel version 2020-03-09 12:44:16 +01:00
path.js path: replace var with let in lib/path.js 2019-11-09 08:44:29 -08:00
perf_hooks.js perf,src: add HistogramBase and internal/histogram.js 2020-03-02 11:01:00 -08:00
process.js
punycode.js lib: use strict equality comparison 2019-12-14 08:57:36 -05:00
querystring.js lib: enforce use of Array from primordials 2019-11-27 19:29:01 +01:00
readline.js readline: remove intermediate variable 2020-02-09 11:06:07 -05:00
repl.js repl: fixup error message 2020-03-27 15:59:43 +01:00
stream.js stream: simplify uint8ArrayToBuffer helper 2019-10-22 13:37:59 -05:00
string_decoder.js lib: replace Symbol global by the primordials Symbol 2019-12-08 13:38:58 +01:00
sys.js
timers.js timers: fix refresh for expired timers 2019-12-25 12:45:24 +01:00
tls.js tls: allow empty subject even with altNames defined 2019-11-29 02:13:41 +01:00
trace_events.js lib: replace Set global by the primordials 2020-01-04 12:41:09 -08:00
tty.js lib: use static Number properties from primordials 2019-11-30 13:45:38 +01:00
url.js url: declare iterator inside loop 2019-12-11 16:38:06 -06:00
util.js lib: replace use of Error with primordials 2020-01-04 14:50:18 -08:00
v8.js worker: add ability to take heap snapshot from parent thread 2020-02-03 07:04:13 -08:00
vm.js vm: implement vm.measureMemory() for per-context memory measurement 2020-02-26 17:52:39 +08:00
wasi.js wasi: clean up options validation 2020-03-30 17:22:22 +02:00
worker_threads.js worker: allow specifying resource limits 2019-11-05 19:57:13 +01:00
zlib.js zlib: align with streams 2020-03-19 10:56:45 +01:00