0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/benchmark
Ben Noordhuis a329729537 buffer: speed up base64 encoding by 20%
Remove a lot of branches from the inner loop. Speeds up buf.toString('base64')
by about 20%.

Before:

  $ time out/Release/node benchmark/buffer-base64-encode.js
  real    0m6.607s
  user    0m5.508s
  sys     0m1.088s

After:

  $ time out/Release/node benchmark/buffer-base64-encode.js
  real    0m5.520s
  user    0m4.520s
  sys     0m0.992s
2012-12-28 13:20:07 +01:00
..
arrays typed arrays: preliminary benchmarks 2011-08-12 18:42:24 +02:00
function_call output time of function calls 2010-09-28 01:14:38 -07:00
buffer_creation.js Update fast buffer benchmarks 2010-09-09 11:03:50 -07:00
buffer-base64-encode.js buffer: speed up base64 encoding by 20% 2012-12-28 13:20:07 +01:00
client_latency.js client latency benchmark: don't require('request') 2012-03-07 04:52:29 +01:00
fast_buffer2_creation.js Update fast buffer benchmarks 2010-09-09 11:03:50 -07:00
fast_buffer2.js Update fast buffer benchmarks 2010-09-09 11:03:50 -07:00
fast_buffer_creation.js Update fast buffer benchmarks 2010-09-09 11:03:50 -07:00
fs-readfile.js benchmark: Backport improvements made in master 2012-06-23 10:03:12 -07:00
http_bench.js bench: add continuous stress test 2012-04-27 23:11:32 +02:00
http_server_lag.js Typo in http_server_lag.js script 2012-03-06 19:31:16 -08:00
http_simple_auto.js bench: use res.end() for chunked encoding 2012-12-20 11:44:10 +01:00
http_simple_bench.sh bench: fetch port from env 2012-08-13 18:52:06 +02:00
http_simple_cluster.js bench: start a worker for each CPU 2012-05-25 00:35:10 +02:00
http_simple.js bench: use res.end() for chunked encoding 2012-12-20 11:44:10 +01:00
http_simple.rb fix whitespace errors 2010-06-29 23:59:24 -07:00
http-flamegraph.sh benchmark: Set ephemeral ports properly on sunos 2012-12-21 00:07:35 +00:00
http.sh benchmark: Set ephemeral ports properly on sunos 2012-12-21 00:07:35 +00:00
idle_clients.js Add extra anti-DoS tech to net.Server 2010-10-27 12:09:16 -07:00
idle_server.js Abstract out a Server.prototype.pause method 2010-10-28 11:42:22 -07:00
io.c bench: fix use of fd after close 2011-12-26 03:23:34 +01:00
io.js benchmark: Backport improvements made in master 2012-06-23 10:03:12 -07:00
net-pipe.js bench: report stats in benchmark/net-pipe 2012-12-20 14:48:51 +01:00
next-tick-2.js Add another nextTick benchmark 2011-12-23 03:09:36 +01:00
next-tick.js bench: add process.nextTick() benchmark 2011-10-31 22:02:46 +01:00
plot.R Bump size of bench histogram to 100ms 2011-01-10 18:00:21 -08:00
process_loop.js Soft migration of sys -> util, Removal of deprecated utils module. 2010-10-11 15:21:36 -07:00
report-startup-memory.js Add startup memory script to benchmarks 2011-02-18 14:01:04 -08:00
run.js Soft migration of sys -> util, Removal of deprecated utils module. 2010-10-11 15:21:36 -07:00
settimeout.js Use the timer list for setTimeout 2010-10-26 14:53:18 -07:00
startup.js Don't use empty.js - breaks module test 2010-09-09 16:22:57 -07:00
static_http_server.js bench: update static_http_server benchmark to new API 2011-11-06 01:25:07 +09:00
string_creation.js Improve appendix markdown 2010-08-21 01:24:14 -07:00
throughput-child.js bench: Use hrtime in throughput benchmark 2012-11-11 10:02:33 -08:00
throughput.js Add throughput benchmark 2011-10-11 22:40:04 -07:00
timers.js
tls-connect.js benchmark: add single process tls connection benchmark 2012-07-14 01:43:34 +02:00
tls-fragmentation.js test: move pummel/test-tls-fragmentation to benchmark/ 2012-03-29 17:25:37 +02:00
url.js bench: correct time calculation in url.js 2012-09-13 14:02:22 +02:00
v8_bench.js Add script for running V8 benchmarks 2011-02-14 17:26:54 -08:00