<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/node.git/benchmark/buffers, branch node-review</title>
<subtitle>github.com: joyent/node.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/'/>
<entry>
<title>bench: fix buffers/buffer-base64-encode benchmark</title>
<updated>2014-06-04T21:37:27+00:00</updated>
<author>
<name>Ben Noordhuis</name>
<email>info@bnoordhuis.nl</email>
</author>
<published>2014-06-04T13:25:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=8ae32a98642fdb1cf9187c67fe0050129f6a5216'/>
<id>8ae32a98642fdb1cf9187c67fe0050129f6a5216</id>
<content type='text'>
The test is supposed to measure the performance of the base64 encoder
so move the Buffer#write() calls out of the benchmark section.

The overhead of the calls isn't terrible (about 1-3%) but having
unrelated activity in a micro-benchmark is never a good idea.

Signed-off-by: Trevor Norris &lt;trev.norris@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The test is supposed to measure the performance of the base64 encoder
so move the Buffer#write() calls out of the benchmark section.

The overhead of the calls isn't terrible (about 1-3%) but having
unrelated activity in a micro-benchmark is never a good idea.

Signed-off-by: Trevor Norris &lt;trev.norris@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>benchmark: Add a test to measure Buffer.slice perf</title>
<updated>2014-05-28T18:57:05+00:00</updated>
<author>
<name>Raymond Feng</name>
<email>raymond@strongloop.com</email>
</author>
<published>2014-05-23T03:37:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=4c672c8a5e33e60a6d03b885a41a45abe9f31c69'/>
<id>4c672c8a5e33e60a6d03b885a41a45abe9f31c69</id>
<content type='text'>
Buffer.slice can be expensive. One regression was reported by https://github.com/joyent/node/issues/7633. The method should be benchmarked.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Buffer.slice can be expensive. One regression was reported by https://github.com/joyent/node/issues/7633. The method should be benchmarked.
</pre>
</div>
</content>
</entry>
<entry>
<title>buffer: add compare and equals methods</title>
<updated>2014-04-29T05:09:48+00:00</updated>
<author>
<name>Sean McArthur</name>
<email>sean.monstar@gmail.com</email>
</author>
<published>2014-03-06T18:21:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=226f98a356fb62a706bc860c36c9ebc6124d776e'/>
<id>226f98a356fb62a706bc860c36c9ebc6124d776e</id>
<content type='text'>
compare() works like String.localeCompare such that:

    Buffer.compare(a, b) === a.compare(b);

equals() does a native check to see if two buffers are equal.

Signed-off-by: Trevor Norris &lt;trev.norris@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
compare() works like String.localeCompare such that:

    Buffer.compare(a, b) === a.compare(b);

equals() does a native check to see if two buffers are equal.

Signed-off-by: Trevor Norris &lt;trev.norris@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>buffer: improve {read,write}{U}Int* methods</title>
<updated>2014-04-02T00:31:28+00:00</updated>
<author>
<name>Nick Apperson</name>
<email>apperson@gmail.com</email>
</author>
<published>2014-03-25T14:51:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=d4fcb23e38e74d21e04b3a17d10e52949b630ec0'/>
<id>d4fcb23e38e74d21e04b3a17d10e52949b630ec0</id>
<content type='text'>
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 &lt;trev.norris@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;trev.norris@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bench: Consistency in benchmark filenames</title>
<updated>2013-02-20T01:16:55+00:00</updated>
<author>
<name>isaacs</name>
<email>i@izs.me</email>
</author>
<published>2013-02-19T22:59:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=2ed56e52354d871622e6b9ca5bf44fa7409b511b'/>
<id>2ed56e52354d871622e6b9ca5bf44fa7409b511b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bench: Add buffers/dataview_set</title>
<updated>2013-02-19T22:14:33+00:00</updated>
<author>
<name>isaacs</name>
<email>i@izs.me</email>
</author>
<published>2013-02-12T06:01:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=3f67a48dd461e1454b81cde33f5c005de5910fa3'/>
<id>3f67a48dd461e1454b81cde33f5c005de5910fa3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bench: Merge fast_buffer_creation and buffer_creation</title>
<updated>2013-02-19T22:14:32+00:00</updated>
<author>
<name>isaacs</name>
<email>i@izs.me</email>
</author>
<published>2013-02-11T22:09:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=048f7fd37ceb2fcdc33b06d36b6e998bd1085952'/>
<id>048f7fd37ceb2fcdc33b06d36b6e998bd1085952</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bench: Buffer read/write benchmarks</title>
<updated>2013-02-19T22:14:32+00:00</updated>
<author>
<name>isaacs</name>
<email>i@izs.me</email>
</author>
<published>2013-02-12T07:53:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=55aa2571a0f0fe1748960fcbf557737d922a05f3'/>
<id>55aa2571a0f0fe1748960fcbf557737d922a05f3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bench: Buffer creation</title>
<updated>2013-02-19T22:14:32+00:00</updated>
<author>
<name>isaacs</name>
<email>i@izs.me</email>
</author>
<published>2013-02-11T21:41:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=419607e8ebcab4b2235ec132623467fcf6fe74ee'/>
<id>419607e8ebcab4b2235ec132623467fcf6fe74ee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bench: buffer-base64-encode</title>
<updated>2013-02-19T22:14:32+00:00</updated>
<author>
<name>isaacs</name>
<email>i@izs.me</email>
</author>
<published>2013-02-11T21:37:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=cc38528acf976c6f10da45b1d824f86444067fb1'/>
<id>cc38528acf976c6f10da45b1d824f86444067fb1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
