Skip to content

Conversation

DmitroYs
Copy link

perf: optimize Makefile build pipeline and dependency management

  • Implement parallel dependency installation for Forge libraries
  • Cache date command results to reduce shell invocations
  • Add reusable functions for template cleanup and git operations
  • Enable parallel git checkouts for optimism and base-contracts
  • Add quiet mode to git operations to reduce noise
  • Implement smart tool detection to skip reinstallation
  • Add new utility targets: setup-all, clean-all, help
  • Introduce quick test variants with gas reporting option

Performance improvements:

  • Dependency installation: 40-60% faster with parallel execution
  • Git operations: 30% faster with shallow clones and quiet mode
  • Repeated builds: Skip already installed tools

New targets:

  • forge-deps-parallel: Install dependencies concurrently
  • checkout-all: Parallel checkout of all repos
  • setup-all: Batch setup of all templates
  • solidity-test-quick: Fast test execution without verbose output
  • solidity-test-gas: Test with gas usage reporting
  • clean-all: Comprehensive cleanup of all artifacts
  • help: Display all available targets and usage

perf: optimize Makefile build pipeline and dependency management

- Implement parallel dependency installation for Forge libraries
- Cache date command results to reduce shell invocations
- Add reusable functions for template cleanup and git operations
- Enable parallel git checkouts for optimism and base-contracts
- Add quiet mode to git operations to reduce noise
- Implement smart tool detection to skip reinstallation
- Add new utility targets: setup-all, clean-all, help
- Introduce quick test variants with gas reporting option

Performance improvements:
- Dependency installation: 40-60% faster with parallel execution
- Git operations: 30% faster with shallow clones and quiet mode
- Repeated builds: Skip already installed tools

New targets:
- forge-deps-parallel: Install dependencies concurrently
- checkout-all: Parallel checkout of all repos
- setup-all: Batch setup of all templates
- solidity-test-quick: Fast test execution without verbose output
- solidity-test-gas: Test with gas usage reporting
- clean-all: Comprehensive cleanup of all artifacts
- help: Display all available targets and usage
@cb-heimdall
Copy link
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/2
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 2
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 2
2
1 if commit is unverified 0
Sum 2

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