flippette / rustc-stress

stress testing with rustc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rustc-stress

stress testing with rustc.

usage

rustc-stress -p <project_dir> -c <cores> -m <seq|par>

where:

  • project_dir is a directory containing cargo projects
  • cores is a comma-separated list of physical cores
  • seq|par is either the sequential or parallel stressing mode

using with temp dirs

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

About

stress testing with rustc

License:The Unlicense


Languages

Language:Rust 100.0%