You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
stream, test: Add test for _readableState.needReadable and _readableState.emittedReadable #10230
Hi, I am interested in the internals of streams since folks in my company have bumped into some perf issues related to it. I would love to spend some time digging into it and learning how it works :)
@joyeecheung I would like to have a test for emittedReadablebefore a fix for #10214 happen. I would like to track possible regression, so write a test for what it is doing now.
Activity
mcollina commentedon Dec 11, 2016
This is really a good issue if someone wants to dig into how streams work. I'm happy to help.
joyeecheung commentedon Dec 12, 2016
Hi, I am interested in the internals of streams since folks in my company have bumped into some perf issues related to it. I would love to spend some time digging into it and learning how it works :)
mcollina commentedon Dec 12, 2016
@joyeecheung please go ahead and prep a PR!
joyeecheung commentedon Dec 12, 2016
I have attempted a PR for
needReadable(#10241), please take a look.Since there is #10214 involved I might need a little bit more time to get my head around
emittedReadable.mcollina commentedon Dec 13, 2016
@joyeecheung I would like to have a test for
emittedReadablebefore a fix for #10214 happen. I would like to track possible regression, so write a test for what it is doing now.joyeecheung commentedon Dec 13, 2016
@mcollina OK, working on it :)
italoacasas commentedon Dec 13, 2016
@mcollina this is duplicated ? #8683
mcollina commentedon Dec 13, 2016
Yes but not entirely. We can close this in fact, my bad.
stream, test: test _readableState.needReadable
stream, test: test _readableState.emittedReadable
stream, test: test _readableState.emittedReadable
stream, test: test _readableState.emittedReadable
stream, test: test _readableState.emittedReadable
stream, test: test _readableState.emittedReadable
stream, test: test _readableState.emittedReadable
stream, test: test _readableState.emittedReadable
stream, test: test _readableState.emittedReadable
stream, test: test _readableState.emittedReadable