Uh oh!
There was an error while loading. Please reload this page.
fs: add bufferSize option to fs.opendir() - #30114
Conversation
Add an option that controls the size of the internal buffer. Fixes: nodejs#29941
duffleit
commented
Oct 25, 2019
What a mob programming session 🙌🏻😀 |
jdjuan
commented
Oct 25, 2019
300 people watched the process of this PR during @scriptconf Great job!!!!! |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
drdreo
commented
Oct 25, 2019
Can approve that all tests were done |
nodejs-github-bot
commented
Oct 25, 2019
Trott
commented
Oct 25, 2019
Speaking of which: Needs tests. (Just forgot to |
Uh oh!
There was an error while loading. Please reload this page.
addaleax
commented
Oct 25, 2019
Done, thanks!
I checked the box because I added benchmarks that measure the performance impact – I don’t think this is something that we could test for well without digging into internals. |
richardlau
commented
Oct 25, 2019
Test passing non-numbers/negative numbers/zero/non-integers as |
And maybe one test for |
addaleax
commented
Oct 25, 2019
@Trott@richardlau I guess, yes – added tests for the error condition/that it works when using a positive integer value. |
Uh oh!
There was an error while loading. Please reload this page.
Co-Authored-By: Richard Lau <riclau@uk.ibm.com>
nodejs-github-bot
commented
Oct 26, 2019
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot
commented
Oct 26, 2019
nodejs-github-bot
commented
Oct 28, 2019
nodejs-github-bot
commented
Oct 28, 2019
addaleax
commented
Oct 28, 2019
Landed in b35181f 🎉 |
Notable changes: * cli: * Added a new flag (`--trace-uncaught`) that makes Node.js print the stack trace at the time of throwing uncaught exceptions, rather than at the creation of the `Error` object, if there is any. This is disabled by default because it affects GC behavior. #30025 * crypto * Added `Hash.prototype.copy()` method. It returns a new `Hash` object with its internal state cloned from the original one. #29910 * dgram * Added source-specific multicast support. This adds methods to Datagram sockets to support RFC 4607 (https://tools.ietf.org/html/rfc4607) for IPv4 and IPv6. #15735 * fs * Added a `bufferSize` option to `fs.opendir()`. It allows to control the number of entries that are buffered internally when reading from the directory. #30114 * meta * Added Chengzhong Wu (https://github.com/legendecas) to collaborators. #30115 PR-URL: #30262
Notable changes: * cli: * Added a new flag (`--trace-uncaught`) that makes Node.js print the stack trace at the time of throwing uncaught exceptions, rather than at the creation of the `Error` object, if there is any. This is disabled by default because it affects GC behavior. #30025 * crypto * Added `Hash.prototype.copy()` method. It returns a new `Hash` object with its internal state cloned from the original one. #29910 * dgram * Added source-specific multicast support. This adds methods to Datagram sockets to support RFC 4607 (https://tools.ietf.org/html/rfc4607) for IPv4 and IPv6. #15735 * fs * Added a `bufferSize` option to `fs.opendir()`. It allows to control the number of entries that are buffered internally when reading from the directory. #30114 * meta * Added Chengzhong Wu (https://github.com/legendecas) to collaborators. #30115 PR-URL: #30262
Add an option that controls the size of the internal
buffer.
Fixes: #29941
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes