node/benchmark/buffers
Jackson Tian afd821a91d buffer: faster case for create buffer from empty string
When create Buffer from empty string will touch
C++ binding also.

This patch can improve edge case ~70% faster.

PR-URL: https://github.com/nodejs/node/pull/4414
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2016-03-27 09:14:48 -07:00
..
buffer-base64-decode.js buffer: add .from(), .alloc() and .allocUnsafe() 2016-03-16 08:34:02 -07:00
buffer-base64-encode.js buffer: add .from(), .alloc() and .allocUnsafe() 2016-03-16 08:34:02 -07:00
buffer-bytelength.js buffer: add .from(), .alloc() and .allocUnsafe() 2016-03-16 08:34:02 -07:00
buffer-compare-instance-method.js benchmark: add benchmark for buf.compare() 2016-02-27 20:17:56 -08:00
buffer-compare.js buffer: add .from(), .alloc() and .allocUnsafe() 2016-03-16 08:34:02 -07:00
buffer-creation.js buffer: add .from(), .alloc() and .allocUnsafe() 2016-03-16 08:34:02 -07:00
buffer-indexof.js buffer: add .from(), .alloc() and .allocUnsafe() 2016-03-16 08:34:02 -07:00
buffer-iterate.js benchmark: use strict mode 2016-02-22 11:09:26 -08:00
buffer-read.js tools,benchmark: increase lint compliance 2016-02-27 20:15:17 -08:00
buffer-slice.js buffer: add .from(), .alloc() and .allocUnsafe() 2016-03-16 08:34:02 -07:00
buffer-swap.js buffer: add swap16() and swap32() methods 2016-03-23 08:52:44 -07:00
buffer-tostring.js buffer: add .from(), .alloc() and .allocUnsafe() 2016-03-16 08:34:02 -07:00
buffer-write.js tools,benchmark: increase lint compliance 2016-02-27 20:15:17 -08:00
buffer_zero.js buffer: faster case for create buffer from empty string 2016-03-27 09:14:48 -07:00
dataview-set.js benchmark: use strict mode 2016-02-22 11:09:26 -08:00