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

Test performance for calls into contracts #504

Merged
merged 4 commits into from
Jan 23, 2024
Merged

Conversation

webmaster128
Copy link
Member

@webmaster128 webmaster128 commented Jan 21, 2024

To get an idea what it costs to call into a contract.

In the CI and my machine this takes roughly twice the time of the "Combined/get instance from memory cache and execute" benchmark in cosmwasm-vm

System cosmwasm-vm benchmark Call from Go
Circle CI (Docker/medium) 85 µs 112 µs
My machine 44 µs 56 µs

Copy link
Collaborator

@chipshort chipshort left a comment

Choose a reason for hiding this comment

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

Looks good as far as I can tell

@webmaster128 webmaster128 merged commit 0f70103 into main Jan 23, 2024
13 checks passed
@webmaster128 webmaster128 deleted the test-call-performance branch January 23, 2024 15:50
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