0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 15:30:56 +01:00
nodejs/benchmark
Ben Noordhuis 78ca555845 bench: optimize io.c benchmark
Use static buffers. Most clock ticks were spent in malloc() and free() instead
of read() and write().

Fix measurements. Really fast runs would result in bogus results like:

  Wrote 1048576000 bytes in -0.731630s using 8192 byte buffers: -1366.811093mB/s
2011-11-10 21:13:37 +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
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
http_simple_bench.sh use bash instead of sh in http_simple_bench.sh 2010-10-18 17:48:49 -07:00
http_simple_cluster.js bench: start (NUM_CPUS-1) workers 2011-11-09 17:34:53 +01:00
http_simple.js Remove uname and git-rev detection from http_simple.js 2011-10-12 12:29:40 -07:00
http_simple.rb
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: optimize io.c benchmark 2011-11-10 21:13:37 +01:00
io.js Soft migration of sys -> util, Removal of deprecated utils module. 2010-10-11 15:21:36 -07: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 Add throughput benchmark 2011-10-11 22:40:04 -07:00
throughput.js Add throughput benchmark 2011-10-11 22:40:04 -07:00
timers.js
v8_bench.js Add script for running V8 benchmarks 2011-02-14 17:26:54 -08:00