From 35e402cd62986c5d32d50b61158429e33a76be5d Mon Sep 17 00:00:00 2001 From: ColumbusLabs <287001685+ColumbusLabs@users.noreply.github.com> Date: Sat, 25 Jul 2026 22:32:21 -0400 Subject: [PATCH 1/2] book: Document platform security scanning --- book/src/performance.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/book/src/performance.md b/book/src/performance.md index eeb8d977..79b74366 100644 --- a/book/src/performance.md +++ b/book/src/performance.md @@ -61,6 +61,23 @@ env TMPDIR=/ram cargo mutants Some Rust build directories can be multiple gigabytes in size, and if you use `cargo mutants -j` there will be several directories of that size. Be careful that the ramdisk does not use so much memory that it causes the system to swap. +## Platform security scanning + +Security software can inspect the many files and processes created during +mutation testing, which can noticeably slow down a run. + +On Windows, consider using a [Dev Drive and its performance +mode](https://nexte.st/docs/installation/windows/) for trusted source, +`CARGO_HOME`, and target directories. If Dev Drive is unavailable, Windows +Security exclusions for those specific directories can provide a similar +benefit. Weigh the security implications before adding exclusions, and do not +disable antivirus protection globally. + +On macOS, XProtect and Gatekeeper checks can also slow down repeated test +execution. Follow the [nextest macOS +guidance](https://nexte.st/docs/installation/macos/) to allow your terminal in +Developer Tools. This avoids disabling system protections globally. + ## Using faster linkers Because cargo-mutants does many incremental builds, link time is important, especially if the test suite is relatively fast. From eada2d3c369e7ec79620db84c119cfab2915dcbc Mon Sep 17 00:00:00 2001 From: ColumbusLabs <287001685+ColumbusLabs@users.noreply.github.com> Date: Sun, 26 Jul 2026 20:51:13 -0400 Subject: [PATCH 2/2] book: Link to Microsoft Dev Drive docs --- book/src/performance.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/src/performance.md b/book/src/performance.md index 79b74366..918438e1 100644 --- a/book/src/performance.md +++ b/book/src/performance.md @@ -67,7 +67,7 @@ Security software can inspect the many files and processes created during mutation testing, which can noticeably slow down a run. On Windows, consider using a [Dev Drive and its performance -mode](https://nexte.st/docs/installation/windows/) for trusted source, +mode](https://learn.microsoft.com/en-us/windows/dev-drive/) for trusted source, `CARGO_HOME`, and target directories. If Dev Drive is unavailable, Windows Security exclusions for those specific directories can provide a similar benefit. Weigh the security implications before adding exclusions, and do not