Skip to content

setup-hooks/strip: parallelise stripping#240734

Closed
Artturin wants to merge 1 commit intoNixOS:stagingfrom
Artturin:parallel-strip
Closed

setup-hooks/strip: parallelise stripping#240734
Artturin wants to merge 1 commit intoNixOS:stagingfrom
Artturin:parallel-strip

Conversation

@Artturin
Copy link
Member

#207101 with @alyssais suggestion applied

This makes bootstrapping to GNU hello ~1-2% faster on an 8-core machine and ~3-4% faster on a 64-core machine.

Description of changes
Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.11 Release Notes (or backporting 23.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

This makes bootstrapping to GNU hello ~1-2% faster on an 8-core
machine and ~3-4% faster on a 64-core machine.
@lheckemann
Copy link
Member

I intentionally didn't apply the suggestion since the way I wrote it is clearer. Sorry, forgot to actually mention that on mine.

@Artturin Artturin closed this Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants