Using a ramdisk on OSX sped up the test suite by about 5x (using default jobs=4) on my M1 macbook pro running macOS Monterey 12.3.1. This PR adds the relevant OSX commands following the Linux directions.
Default:
8204 s (accumulated)
Runtime: 2104 s
following commands from the PR:
1606 s (accumulated)
Runtime: 421 s
ramdisk + jobs=32:
2090 s (accumulated)
Runtime: 85 s