|Source Repository:||Repository:Gentoo Portage Tree|
- Enable NPM package manager
- Enable snapshot creation for faster startup
- Enable SystemTAP/DTrace tracing
# emerge net-libs/nodejs
For our example we will fetch a website benchmark tool.
# npm install -g sitespeed.ioWe'll set it loose on funtoo, 10 pages will be analyzed.
# cd / && sitespeed.io -m 10 -u http://www.funtoo.orgTo see the result of benchmarking, point a browser @ (note that your date, and time will probably differ, however the script will tell which directory to look at.) /sitespeed-result/www.funtoo.org/2015-04-18-00-57-23/index.html
As of 05:07, April 18, 2015 (UTC) the suggested method to serve node.js is through tengine + passenger. see Package:Tengine