tailcall icon indicating copy to clipboard operation
tailcall copied to clipboard

Improve cargo build time in debug mode

Open tusharmath opened this issue 1 year ago β€’ 15 comments

The debug build time for tailcall is fairly high. This issue targets improving the clean build time for the project by 70%.

tusharmath avatar Dec 29 '23 07:12 tusharmath

/bounty 200$

tusharmath avatar Dec 29 '23 07:12 tusharmath

~~## πŸ’Ž $200 bounty β€’ Tailcall Inc.~~

~~### Steps to solve:~~ ~~1. Start working: Comment /attempt #831 with your implementation plan~~ ~~2. Submit work: Create a pull request including /claim #831 in the PR body to claim the bounty~~ ~~3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts~~

~~### Additional opportunities:~~ ~~* πŸ”΄ Livestream on Algora TV while solving this bounty & earn $200 upon merge! Make sure to have your camera and microphone on. Comment /livestream once live~~

~~πŸ™ Thank you for contributing to tailcallhq/tailcall!~~ ~~🧐 Checkout our guidelines before you get started.~~

Attempt Started (GMT+0) Solution
πŸ”΄ @neo773 Dec 29, 2023, 7:47:11 AM WIP
🟒 @ologbonowiwi Feb 5, 2024, 6:51:38 PM WIP

algora-pbc[bot] avatar Dec 29 '23 07:12 algora-pbc[bot]

/attempt #831

neo773 avatar Dec 29 '23 07:12 neo773

@neo773: The Tailcall Inc. team prefers to assign a single contributor to the issue rather than let anyone attempt it right away. We recommend waiting for a confirmation from a member before getting started.

algora-pbc[bot] avatar Dec 29 '23 07:12 algora-pbc[bot]

@tusharmath Seems like the conversation got lost in Discord reposting it here image

neo773 avatar Jan 13 '24 22:01 neo773

Fantastic, raise a PR ill have a look

tusharmath avatar Jan 14 '24 03:01 tusharmath

Hey @neo773, you still working on this?

wesleymatosdev avatar Feb 05 '24 16:02 wesleymatosdev

@ologbonowiwi Nope

neo773 avatar Feb 05 '24 18:02 neo773

/attempt #831

wesleymatosdev avatar Feb 05 '24 18:02 wesleymatosdev

@ologbonowiwi: Another person is already attempting this issue. Please don't start working on this issue unless you were explicitly asked to do so.

algora-pbc[bot] avatar Feb 05 '24 18:02 algora-pbc[bot]

Action required: Issue inactive for 30 days. Status update or closure in 7 days.

github-actions[bot] avatar Mar 06 '24 19:03 github-actions[bot]

@neo773 did you make any progress on this? I remember you posted something on discord, but didn't create PR.

tusharmath avatar Mar 08 '24 06:03 tusharmath

@tusharmath Yes, the approach required upfront tooling installed (sccache) you can’t put it in cargo.toml as it requires exposing the path along with some of other variables and also takes a while to install.

neo773 avatar Mar 08 '24 06:03 neo773

@tusharmath Yes, the approach required upfront tooling installed (sccache) you can’t put it in cargo.toml as it requires exposing the path along with some of other variables and also takes a while to install.

Does this render the solution ineffective? There is no mention of whether the build times in question are in CI or local debug builds, quite a difference between the two.

avdb13 avatar Apr 18 '24 01:04 avdb13

There is no mention of whether the build times in question are in CI or local debug builds

As the issue's description mentions

The debug build time for tailcall is fairly high. This issue targets improving the clean build time for the project by 70%.

From our understanding so far the issue was aiming to solve local builds, but I hit the same wall as @neo773, most solutions found to improve build time require some sort of cache in a build that was done before, which require tooling to be installed on the contributor's machine.

If such solution is the expected, I'll be happy to open a PR; I have some code locally already

wesleymatosdev avatar Apr 18 '24 01:04 wesleymatosdev

Action required: Issue inactive for 30 days. Status update or closure in 7 days.

github-actions[bot] avatar Jun 05 '24 21:06 github-actions[bot]

Issue closed after 7 days of inactivity.

github-actions[bot] avatar Jun 12 '24 22:06 github-actions[bot]