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

Mixer mixing fn benches #152

Merged
merged 3 commits into from
Jun 10, 2022
Merged

Mixer mixing fn benches #152

merged 3 commits into from
Jun 10, 2022

Conversation

maurolacy
Copy link
Contributor

@maurolacy maurolacy commented Jun 10, 2022

Updates the mixing function benchmark setup / values to latest version of deps.

These are the current gas costs, by the way:

$ cbench --locked
...

   GeometricMean(100000, 5000) = 22360 ( 42 SDK gas)
         Sigmoid(100000, 5000) =  1000 (642 SDK gas)
     SigmoidSqrt(100000, 5000) =   997 (147 SDK gas)
AlgebraicSigmoid(100000, 5000) =   996 (609 SDK gas)
$ 

@maurolacy maurolacy force-pushed the mixer-mixing-fn-benches branch from 4a16b3c to 962a911 Compare June 10, 2022 11:38
Copy link

@ueco-jb ueco-jb left a comment

Choose a reason for hiding this comment

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

LGTM

[dev-dependencies]
cosmwasm-schema = "1.0.0"
# bench dependencies
cosmwasm-vm = { version = "1.0.0" }
Copy link

Choose a reason for hiding this comment

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

Suggested change
cosmwasm-vm = { version = "1.0.0" }
cosmwasm-vm = "1.0.0"

@maurolacy maurolacy merged commit 14f9563 into main Jun 10, 2022
@maurolacy maurolacy deleted the mixer-mixing-fn-benches branch June 10, 2022 12:54
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