Skip to content

Improve performance #4

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

Merged
merged 4 commits into from
Jan 31, 2021
Merged

Improve performance #4

merged 4 commits into from
Jan 31, 2021

Conversation

chaspy
Copy link
Owner

@chaspy chaspy commented Jan 31, 2021

before

Mon Feb 1 02:38:13 JST 2021
Mon Feb 1 02:38:36 JST 2021

--> 23 sec

after

Mon Feb 1 03:43:16 JST 2021
Mon Feb 1 03:43:17 JST 2021

--> 1 sec

@chaspy chaspy changed the title [WIP]Improve performance Improve performance Jan 31, 2021
go func(svc *ecr.ECR, repo string, imageTag string) {
result, err := describeImageScanFindings(svc, repo, imageTag)
if err != nil {
log.Printf("failed to describe image scan findings: %v", err)
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The error should be wrapped and return to a caller side but I'm not sure how to do it.
I'll revisit later.

@chaspy chaspy merged commit a90a8be into main Jan 31, 2021
@chaspy chaspy deleted the improve-performance branch January 31, 2021 18:48
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