Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parallelize actions #10

Open
bmuenzenmeyer opened this issue Aug 6, 2021 · 0 comments
Open

Parallelize actions #10

bmuenzenmeyer opened this issue Aug 6, 2021 · 0 comments

Comments

@bmuenzenmeyer
Copy link
Contributor

I've written up a file which calls praxis-scripts numerous times for each command, and I'm realizing that as time goes on the number of commands will only grow. As they occur in precommit, it's going to take longer and longer to commit as our documentation grows.

We can cut this down substantially by running the actions at the same time. Changes should be created in batches in memory, and then replacements can occur in series after all actions have completed.

Some actions can not / should not be performed at the same time, such as git. These actions can accept a parameter ("parallel": false?) to make them run in a separate series of work.

A huge thanks to our most recent contributor:
<!--
  CODEBLOCK_START
  {
    "type": "command",
    "value": "git log -1 --pretty=format:'%an'",
    "parallel": false
  }
-->

<-- CODEBLOCK_END -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant