Skip to content

Conversation

@radex
Copy link

@radex radex commented Jan 30, 2023

lipo-ing one binary does not depend on the output of previous lipo, so we can safely run it in parallel. Nothing fancy is required for that, just moving from awaiting sequentially to awaiting an array of promises. This gives an awesome speedup.

@radex radex requested a review from a team as a code owner January 30, 2023 12:21
await fs.realpath(path.resolve(tmpApp, machOFile.relativePath)),
]);
}

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend viewing this diff in "hide whitespace" mode

@erickzhao erickzhao changed the title Run hashing and lipo in parallel perf: run hashing and lipo in parallel Jan 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.

1 participant