diff options
| author | Rain <rain@sunshowers.io> | 2025-02-11 22:50:26 +0000 |
|---|---|---|
| committer | Rain <rain@sunshowers.io> | 2025-02-23 06:49:59 +0000 |
| commit | b34054511401f7aed8e76b8d5663651b5b4ced2a (patch) | |
| tree | f353d90137377874ddf920aec5f948c17672b5ac /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | bca5f37cbded0db8d37414bb08c4b101a5f26d36 (diff) | |
| download | rust-b34054511401f7aed8e76b8d5663651b5b4ced2a.tar.gz rust-b34054511401f7aed8e76b8d5663651b5b4ced2a.zip | |
[illumos] attempt to use posix_spawn to spawn processes
illumos has `posix_spawn`, and the very newest versions also have `_addchdir`, so use that. This is a nice ~4x performance improvement for process creation. My go-to as usual is nextest against the clap repo, which acts as a stress test for process creation -- with [this commit]: ```console $ cargo nextest run -E 'not test(ui_tests) and not test(example_tests)' before: Summary [ 1.747s] 879 tests run: 879 passed, 2 skipped after: Summary [ 0.445s] 879 tests run: 879 passed, 2 skipped ``` [this commit]: https://github.com/clap-rs/clap/commit/fde45f9aea766fb8de46e3d46e6575f393c3b6b9
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
