Vinicius Lourenço
Vinicius Lourenço
This does not look an issue on powertools, but rather on the AWS Image for Node, if we replace the logger to: ```js import { Console } from 'console'; const...
I did some investigation and looks like the issue is related to the `stdout` and `stderr` not being synchronous and the code not giving the event loop time necessary to...
> This makes sense, but then why is [this line](https://github.com/aws/aws-lambda-nodejs-runtime-interface-client/blob/db6a30da32934bcde91da248db30b60b17b891c4/src/LogPatch.js#L79) not affected since the patched console.log also writes to stdout?? Good question, I read the source code of Node and...
Instead of set the handle to block, instead you could implement a buffer and flush every X bytes synchronously, and also schedule it to flush on the next tick (to...
Before merging, some concerns raised in another PR with same changes: > One thing worth noting is that this would be a breaking change as currently the AsyncLocalStorage.bind(...) will always...
Benchmark result: ``` confidence improvement accuracy (*) (**) (***) process/bench-env.js operation='delete' n=1000000 0.89 % ±5.64% ±7.51% ±9.77% process/bench-env.js operation='enumerate' n=1000000 1.65 % ±3.36% ±4.47% ±5.82% process/bench-env.js operation='get' n=1000000 -0.79 %...
Before: After: Before without the max width: After with the max width: