Open
Description
Version
master
Platform
Linux foo 5.4.0-58-generic #64~18.04.1-Ubuntu SMP Wed Dec 9 17:11:11 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
stream
What steps will reproduce the bug?
No response
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
6cd12be for some reason is causing a noticeable performance regression for stream.Readable
.
For example, before that commit:
$ ./node benchmark/streams/readable-bigunevenread.js n=2000
gives ~815 ops/s on my machine. With that commit I get ~640 ops/s. I don't quite entirely understand why stream.Readable
is affected here as it's not being changed in that commit, so it could be something V8-related. I did notice in the profiler output with the commit shows a lot more GC activity than before the commit for some reason.
/cc @jasnell