Skip to content

Optimize Dockerfile metadata extraction in generate-stackbrew-library.sh#122

Draft
keeganwitt wants to merge 1 commit into
groovy:masterfrom
keeganwitt:perf-optimize-stackbrew-parsing-16723078685847990217
Draft

Optimize Dockerfile metadata extraction in generate-stackbrew-library.sh#122
keeganwitt wants to merge 1 commit into
groovy:masterfrom
keeganwitt:perf-optimize-stackbrew-parsing-16723078685847990217

Conversation

@keeganwitt
Copy link
Copy Markdown
Member

Consolidated redundant awk calls into a single awk pass to reduce the number of process forks within the directory loop. This improves the script's performance by approximately 50% for the parsing logic.

Consolidated redundant awk calls into a single awk pass to reduce the
number of process forks within the directory loop. This improves the
script's performance by approximately 50% for the parsing logic.

Co-authored-by: keeganwitt <64612+keeganwitt@users.noreply.github.com>
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.

1 participant