Skip to content

Instantly share code, notes, and snippets.

@ZedYeung
Last active July 16, 2019 20:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ZedYeung/5f5176c679c8e7f317a657f0504e199f to your computer and use it in GitHub Desktop.
Save ZedYeung/5f5176c679c8e7f317a657f0504e199f to your computer and use it in GitHub Desktop.
nodejs
FILE="example"
node --prof --no-logfile-per-isolate --log --logfile=${FILE}.log ${FILE} && node --prof-process ${FILE}.log | less && rm ${FILE}.log
ab -n 100 -c 10 -m POST http://localhost:8080/processFileSync
loadtest -n 100 -c 10 -m POST http://localhost:8080/processFileSync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment