<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/node.git/benchmark, 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>benchmark: add test for module loader</title>
<updated>2014-09-24T22:48:55+00:00</updated>
<author>
<name>Robert Kowalski</name>
<email>rok@kowalski.gd</email>
</author>
<published>2014-09-13T09:06:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=efa47e593d0fe63127b39b5c0ef67ac534af5eb4'/>
<id>efa47e593d0fe63127b39b5c0ef67ac534af5eb4</id>
<content type='text'>
Adds a test for benchmarking the module loader, needed for benchmarking
changes / refacortings in the module loader.

Reviewed-by: Trevor Norris &lt;trev.norris@gmail.com&gt;
Reviewed-by: Timothy J Fontaine &lt;tjfontaine@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds a test for benchmarking the module loader, needed for benchmarking
changes / refacortings in the module loader.

Reviewed-by: Trevor Norris &lt;trev.norris@gmail.com&gt;
Reviewed-by: Timothy J Fontaine &lt;tjfontaine@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<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>doc: Add a README for benchmark tests</title>
<updated>2014-05-28T18:58:08+00:00</updated>
<author>
<name>Raymond Feng</name>
<email>raymond@strongloop.com</email>
</author>
<published>2014-05-23T03:57:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=329103540c87becb0d9ee07478b0704f4d90af74'/>
<id>329103540c87becb0d9ee07478b0704f4d90af74</id>
<content type='text'>
The README.md documents how to run node core benchmark tests and
how to write new tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The README.md documents how to run node core benchmark tests and
how to write new tests.
</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>benchmark: update to use new wrk</title>
<updated>2014-02-25T19:28:46+00:00</updated>
<author>
<name>Timothy J Fontaine</name>
<email>tjfontaine@gmail.com</email>
</author>
<published>2014-02-25T19:05:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=bfc823de9057b8cc9c7efd97e6216e2de02aa818'/>
<id>bfc823de9057b8cc9c7efd97e6216e2de02aa818</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>stream_wrap: use `uv_try_write` where possible</title>
<updated>2014-01-28T22:49:03+00:00</updated>
<author>
<name>Fedor Indutny</name>
<email>fedor.indutny@gmail.com</email>
</author>
<published>2014-01-28T22:48:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=9836a4eeda1e2d43aad0923f1f72b364792629bc'/>
<id>9836a4eeda1e2d43aad0923f1f72b364792629bc</id>
<content type='text'>
Use `uv_try_write` for string and buffer writes, thus avoiding to do
allocations and copying in some of the cases.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use `uv_try_write` for string and buffer writes, thus avoiding to do
allocations and copying in some of the cases.
</pre>
</div>
</content>
</entry>
<entry>
<title>benchmark: fixate `ciphers` in tls benchmarks</title>
<updated>2013-12-06T22:32:03+00:00</updated>
<author>
<name>Fedor Indutny</name>
<email>fedor.indutny@gmail.com</email>
</author>
<published>2013-12-06T10:30:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=f5ab3e4c5cd37b76d60f657190b315183dbefeba'/>
<id>f5ab3e4c5cd37b76d60f657190b315183dbefeba</id>
<content type='text'>
Benchmark should always use the same cipher in order to be truthful.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Benchmark should always use the same cipher in order to be truthful.
</pre>
</div>
</content>
</entry>
<entry>
<title>benchmark: Correct the bufferSize to highWaterMark</title>
<updated>2013-11-06T12:32:22+00:00</updated>
<author>
<name>Jackson Tian</name>
<email>shyvo1987@gmail.com</email>
</author>
<published>2013-09-01T17:41:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=60958d235d6ad789b034a67a528a7d680ac1c727'/>
<id>60958d235d6ad789b034a67a528a7d680ac1c727</id>
<content type='text'>
  The bufferSize has been removed. Use highWaterMark instead of.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  The bufferSize has been removed. Use highWaterMark instead of.
</pre>
</div>
</content>
</entry>
</feed>
