Skip to content

benches: add a new wasi-demo-{app, oci} benchmark #764

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 8 commits into from
Dec 9, 2024

Conversation

Mossaka
Copy link
Member

@Mossaka Mossaka commented Dec 6, 2024

This commit adds a new benchmark for running the shims end-to-end on wasi-demo-{app, oci} to print 'hello'.

@Mossaka Mossaka closed this Dec 6, 2024
@Mossaka Mossaka reopened this Dec 6, 2024
@Mossaka Mossaka changed the title benches: add a new wasi-demo-app benchmark benches: add a new wasi-demo-{app, oci} benchmark Dec 6, 2024
@Mossaka Mossaka requested a review from jsturtevant December 6, 2024 21:20
Copy link
Contributor

@jsturtevant jsturtevant left a comment

Choose a reason for hiding this comment

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

LGTM, the two comments about re-usability are minor and could be done when needed

This commit adds a new benchmark for running the shims end-to-end on wasi-demo-apps to print 'hello'.

Signed-off-by: Jiaxiao (mossaka) Zhou <[email protected]>
It seems like that the 'sudo make install' uses a different TARGET_DIR than 'make build'

Signed-off-by: Jiaxiao (mossaka) Zhou <[email protected]>
Signed-off-by: Jiaxiao (mossaka) Zhou <[email protected]>
this adds wasi-demo-app OCI image to the benches

Signed-off-by: Jiaxiao (mossaka) Zhou <[email protected]>
Signed-off-by: Jiaxiao (mossaka) Zhou <[email protected]>
this commit extract the TestCase out to possibly run any OCI images. It also extract the verify_output out
as a closure so that the bench group can customize how to verify the output.

Signed-off-by: Jiaxiao (mossaka) Zhou <[email protected]>
@Mossaka Mossaka force-pushed the benchmark-wasi-demo-app branch from f02f9ec to 292a656 Compare December 6, 2024 22:54
@Mossaka Mossaka requested review from jprendes and andreiltd December 9, 2024 17:09
Copy link
Contributor

@jsturtevant jsturtevant left a comment

Choose a reason for hiding this comment

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

/lgtm

@Mossaka
Copy link
Member Author

Mossaka commented Dec 9, 2024

/lgtm

It doesn't seem like GitHub has recognized this as an approval, but I will see it as one!

@Mossaka Mossaka merged commit f179d80 into containerd:main Dec 9, 2024
71 checks passed
@Mossaka Mossaka deleted the benchmark-wasi-demo-app branch December 9, 2024 17:53
@Mossaka Mossaka mentioned this pull request Dec 12, 2024
14 tasks
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