Commit ce7183a9 authored by Bogdan Vacaliuc's avatar Bogdan Vacaliuc
Browse files

Add nsd-mantid-profile-wrap.sh script for profiling a (mantid) script

This is used with non-interactive scripts to visualize resource usage.

*To test*:

1. `nsd-mantid-profile-wrap.sh` prints an error and usage message
2. `nsd-mantid-profile-wrap.sh --help` prints the usage message
3. `nsd-mantid-profile-wrap.sh` envname /path/to/script` runs script with that environment
that is installed in /usr/local/pixi and produces profile.html in the ${cwd}
4. `nsd-mantid-profile-wrap.sh garbageenv` prints an error and usage message
5. `nsd-mantid-profile-wrap.sh garbageenv /path/to/script` will spill some ugly spew and panic the pixi rust environment...
parent 8b490c0e
Loading
Loading
Loading
Loading