Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

fix: Reduce Go build times#615

Merged
mattjohnsonpint merged 6 commits intomainfrom
mjp/hyp-2676-go-build
Nov 26, 2024
Merged

fix: Reduce Go build times#615
mattjohnsonpint merged 6 commits intomainfrom
mjp/hyp-2676-go-build

Conversation

@mattjohnsonpint
Copy link
Contributor

@mattjohnsonpint mattjohnsonpint commented Nov 26, 2024

Description

The Modus Go SDK has two compilation steps. This used to be required, but it turns out we've already addressed the cause of that and just hadn't removed the extra compilation. This PR removes the first pass, so there's just a single compile. Thus, build times are reduced significantly.

The PR also adds some diagnostic output, which is visible if MODUS_TRACE=true is set.

Checklist

  • Code compiles correctly and linting passes locally
  • For all code changes, an entry added to the CHANGELOG.md file describing and linking to this PR

@mattjohnsonpint mattjohnsonpint requested a review from a team November 26, 2024 00:54
@mattjohnsonpint mattjohnsonpint merged commit bf7630a into main Nov 26, 2024
@mattjohnsonpint mattjohnsonpint deleted the mjp/hyp-2676-go-build branch November 26, 2024 01:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants