Skip to content

Conversation

@Andrzej-Dawiec
Copy link
Contributor

Closes #460

This PR adds:
Added "make -j" to line 18 on README.md
Added line 28 on tests.yml "run: make -j" for GitHub Actions Workflow file, noticed a 2ms time difference on raiju ./tests run with -j option enabled on GPU.

@Andrzej-Dawiec Andrzej-Dawiec added good first issue Good for newcomers refactor doesn't change functionality, just improves code labels Jun 29, 2023
@Andrzej-Dawiec Andrzej-Dawiec requested a review from stiber June 29, 2023 20:37
@Andrzej-Dawiec Andrzej-Dawiec self-assigned this Jun 29, 2023
Copy link
Contributor

@stiber stiber left a comment

Choose a reason for hiding this comment

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

Looks good. Should double-check the time difference to verify that it is for the build and not the unit tests. Also would be good to compare both on one of our machines and within the GitHub action on their VM. Looking at this PR's build action, the build step itself took 1:51. In the most recent preceding run (from PR #590), the build step took 3:05. I'm not sure how consistent such timing would be, and it won't save the world, but it's not nothing!

@Andrzej-Dawiec
Copy link
Contributor Author

After testing on Raiju Machine:
CPU: Minimal difference
GPU: Around 3 seconds faster with -j enabled

@Andrzej-Dawiec Andrzej-Dawiec merged commit 720e18f into development Jun 30, 2023
@Andrzej-Dawiec Andrzej-Dawiec deleted the issue-460-enchancing-build-efficiency branch June 30, 2023 00:02
stiber pushed a commit that referenced this pull request Feb 17, 2024
…ild-efficiency

[ISSUE 460] Enhancing build efficiency with the -j option in the make command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

good first issue Good for newcomers refactor doesn't change functionality, just improves code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants