0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/benchmark/buffers
Nick Apperson d4fcb23e38 buffer: improve {read,write}{U}Int* methods
Increase the performance and simplify the logic of Buffer#write{U}Int*
and Buffer#read{U}Int* methods by placing the byte manipulation code
directly inline.

Also improve the speed of buffer-write benchmarks by creating a new
call directly to each method by using Function() instead of calling by
buff[fn].

Signed-off-by: Trevor Norris <trev.norris@gmail.com>
2014-04-01 17:31:28 -07:00
..
buffer-base64-encode.js bench: buffer-base64-encode 2013-02-19 14:14:32 -08:00
buffer-creation.js bench: Consistency in benchmark filenames 2013-02-19 17:16:55 -08:00
buffer-read.js buffer: improve {read,write}{U}Int* methods 2014-04-01 17:31:28 -07:00
buffer-write.js buffer: improve {read,write}{U}Int* methods 2014-04-01 17:31:28 -07:00
dataview-set.js bench: Consistency in benchmark filenames 2013-02-19 17:16:55 -08:00