As per http://nodejs.org/api/buffer.html#buffer_class_method_buffer_concat_list_totallength it's faster to provide the new total length to Buffer.concat
// If we have an incomplete line held from the previous chunk of data
// merge it with the first line from this chunk of data
if (this.hold_last && this.held_data !== null) {
- bufs[0] = Buffer.concat([this.held_data, bufs[0]]);
+ bufs[0] = Buffer.concat([this.held_data, bufs[0]], this.held_data.length + bufs[0].length);
this.hold_last = false;
this.held_data = null;
}