ammarm08 / quasimodo

Benchmark NodeJS programs against each other (CPU, memory, loadtesting)
0 stars 0 forks source link

feat: quasimodo.sh - Add -f flag to rm, source ~/.bashrc on Ubuntu #10

Closed alexdulin closed 7 years ago

alexdulin commented 7 years ago

Couple of minor things:

1) Currently the script only sources ~/.profile if on Mac. It would be nice to load up all of .bashrc and .profile on Linux too. 2) If the ./isolate-, etc paths dont exist, then rm print stuff to stdout. Calling rm -rf would solve this. 3) writing the .isolate files to /tmp would also remove the possibility of leaving around log files in the currently directory. They could then be moved into the quasimodo_test directory when call node --prof-process. tempfile on Linux (maybe OSX?) could make things easier.