stress testing with rustc.
rustc-stress -p <project_dir> -c <cores> -m <seq|par>
where:
project_dir
is a directory containing cargo projectscores
is a comma-separated list of physical coresseq|par
is either theseq
uential orpar
allel stressing mode
rustc-stress
does not handle tempdirs itself, so you have to do this manually
(for now).
example: using with tmpfs (/tmp
) on linux to avoid disk writes
rm -rf /tmp/stress && cp -r <projects> /tmp/stress && rustc-stress -p /tmp/stress