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

feature: choose benchmark binary to test local modifications #2872

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

szuecs
Copy link
Member

@szuecs szuecs commented Jan 17, 2024

feature: choose benchmark binary to test local modifications

@szuecs szuecs added the minor no risk changes, for example new filters label Jan 17, 2024
@szuecs
Copy link
Member Author

szuecs commented Jan 17, 2024

👍

exit 0
fi

source $GOPATH/src/github.com/zalando/skipper/skptesting/benchmark.inc
Copy link
Member

@AlexanderYastrebov AlexanderYastrebov Jan 17, 2024

Choose a reason for hiding this comment

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

Is this moved due to missing log()?

The downside is that benchmark.inc now installs skipper even if someone just ran it with -help

Copy link
Member

Choose a reason for hiding this comment

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

Maybe just change it to echo ""benchmark-proxy.sh [duration] ..." >&2. I think it may also print to stdout since its not an error but help message

Copy link
Member Author

Choose a reason for hiding this comment

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

yes it is required to use log()

Copy link
Member Author

Choose a reason for hiding this comment

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

I guess it does not hurt to install a current local skipper

@AlexanderYastrebov
Copy link
Member

👍

@szuecs szuecs merged commit 3bb19db into master Jan 17, 2024
14 checks passed
@szuecs szuecs deleted the skptesting/choose-binary branch January 17, 2024 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor no risk changes, for example new filters
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants