Hopefully this will give some inside on timings for file read-write on a clean system vs defender.
- Install rustup, which gives you access to the
cargo
build tool:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Install flamegraph using cargo:
cargo install flamegraph
- Build the tool using cargo:
cargo build --release
- Run the tool under flamegraph:
sudo flamegraph -- target/release/defendertest --path /tmp/ --total-inodes 1000
- Let's compare our timing information and flamegraph.