isaacs
c0e70354db
stream: Short-circuit buffer pushes when flowing
...
When a stream is flowing, and not in the middle of a sync read, and
the read buffer currently has a length of 0, we can just emit a 'data'
event rather than push it onto the array, emit 'readable', and then
automatically call read().
As it happens, this is quite a frequent occurrence! Making this change
brings the HTTP benchmarks back into a good place after the removal of
the .ondata/.onend socket kludge methods.
2013-08-08 13:01:09 -07:00
..
2013-08-01 15:08:01 -07:00
2013-08-07 10:29:15 -07:00
2013-08-08 13:01:09 -07:00
2013-08-08 13:01:09 -07:00
2013-08-01 15:08:01 -07:00
2013-08-01 15:08:01 -07:00
2013-08-08 13:01:09 -07:00
2011-03-14 17:37:05 -07:00
2013-01-17 10:42:44 -08:00
2013-03-05 14:27:15 -08:00
2013-08-08 13:01:09 -07:00
2013-08-01 15:08:01 -07:00
2013-08-01 15:08:01 -07:00
2013-08-08 13:01:09 -07:00
2013-08-07 00:57:32 +04:00
2013-08-01 15:08:01 -07:00
2013-08-01 15:08:01 -07:00
2013-08-01 15:08:01 -07:00
2013-08-01 15:08:01 -07:00
2013-08-01 15:08:01 -07:00
2011-03-14 17:37:05 -07:00
2013-08-01 15:08:01 -07:00
2013-08-01 15:08:01 -07:00
2013-08-01 15:08:01 -07:00
2013-08-01 15:08:01 -07:00
2013-08-06 11:59:17 -07:00
2011-03-14 17:37:05 -07:00
2013-08-01 15:08:01 -07:00
2013-08-05 12:33:19 -07:00
2013-08-01 15:08:01 -07:00
2013-08-01 15:08:01 -07:00
2013-08-08 13:01:09 -07:00
2013-03-28 13:19:08 -07:00
2013-08-01 15:08:01 -07:00
2013-06-20 13:02:53 +02:00
2013-08-01 15:08:01 -07:00
2013-08-01 15:08:01 -07:00
2013-08-05 17:03:08 -07:00
2013-08-07 12:53:24 -07:00
2013-08-01 15:08:01 -07:00
2012-12-13 17:00:22 -08:00
2012-06-28 10:14:03 -07:00
2013-07-11 22:22:56 -07:00
2013-08-01 15:08:01 -07:00
2013-07-20 12:09:29 +02:00
2013-08-01 15:08:01 -07:00
2013-08-02 12:52:34 -07:00
2013-08-01 15:08:01 -07:00
2013-08-01 15:08:01 -07:00