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

Cleanup smithy-build #1366

Merged
merged 1 commit into from
Aug 19, 2022
Merged

Cleanup smithy-build #1366

merged 1 commit into from
Aug 19, 2022

Conversation

mtdowling
Copy link
Member

  • Removes the need to create intermediate SmithyBuildConfig classes when loading configurations from JSON files.
  • Only perform variable expansion if it's used.
  • Adds fromNode for smithy-build classes.
  • Removes several instances of Stream that are called in hot paths / don't need stream overhead.
  • Switch from custom ForkJoinPool to parallel stream. There's no measurable difference here and this approach is simpler.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

* Removes the need to create intermediate SmithyBuildConfig classes
  when loading configurations from JSON files.
* Only perform variable expansion if it's used.
* Adds fromNode for smithy-build classes.
* Removes several instances of Stream that are called in hot paths
  / don't need stream overhead.
* Switch from custom ForkJoinPool to parallel stream. There's no
  measurable difference here and this approach is simpler.
@mtdowling mtdowling requested a review from a team as a code owner August 19, 2022 00:04
@mtdowling mtdowling merged commit b0f2bc2 into main Aug 19, 2022
@mtdowling mtdowling deleted the smithy-build-optimizations branch October 24, 2022 16:27
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