This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
import fileinput | |
import argparse | |
from operator import itemgetter | |
parser = argparse.ArgumentParser() | |
parser.add_argument('--target-mb', action = 'store', dest = 'target_mb', default = 61000, type = int) | |
parser.add_argument('vmtouch_output_file', action = 'store', nargs = '+') | |
args = parser.parse_args() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(curl https://raw.github.com/bnoordhuis/node-profiler/master/tools/nprof-stub.js; \ | |
for file in splaytree codemap csvparser consarray profile profile_view logreader tickprocessor tickprocessor-driver; \ | |
do curl https://raw.github.com/joyent/node/$(node --version)/deps/v8/tools/$file.js; \ | |
done) > nprof && chmod +x nprof |