From f018be3b5f6dad3a92cf41706ad5ed74dc221f6e Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 6 Oct 2011 15:02:27 -0700 Subject: [PATCH] Print libuv counters after http_simple exits --- benchmark/http_simple.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/benchmark/http_simple.js b/benchmark/http_simple.js index cac406ce7f8..120c2050ccc 100644 --- a/benchmark/http_simple.js +++ b/benchmark/http_simple.js @@ -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()); +});