GYP and WAF need to live in parallel for some time.
Some people were reporting waf erroring with thread.error: can't start new thread this seems to fix that problem.
This way there won't be strange tools/.waf-12343 directories hanging about. All that waf needs to run is inside the tools/wafadmin directory.
This reverts commit 412b463.
Made a few other little corrections too.
To use the benchmarks: node benchmarks/run.js or: make benchmark The numbers reported are the elapsed milliseconds the script took to complete. Currently only benching HTTP code and timers.
Users will need to "make distclean" to recompile from scratch since I've moved a lot of the core build tools around.
This is sloppy: after each ObjectWrap allocation the user needs to call ObjectWrap::InformV8ofAllocation(). In addition each class deriving from ObjectWrap needs to implement the virtual method size() which should return the size of the derived class. If I was better at C++ I could possibly make this less ugly. For now this is how it is. Memory usage looks much better after this commit.
this is awful. i'm sorry for being so messy.