Print libuv counters after http_simple exits
authorRyan Dahl <ry@tinyclouds.org>
Thu, 6 Oct 2011 22:02:27 +0000 (15:02 -0700)
committerRyan Dahl <ry@tinyclouds.org>
Thu, 6 Oct 2011 22:02:27 +0000 (15:02 -0700)
benchmark/http_simple.js

index cac406c..120c205 100644 (file)
@@ -110,3 +110,6 @@ server.listen(port, function () {
   console.log('Listening at http://127.0.0.1:'+port+'/');
 });
 
+process.on('exit', function() {
+  console.error('libuv counters', process.uvCounters());
+});