Skip to content

Conversation

@jalextowle
Copy link
Contributor

Addresses Spearbit Issue #54.

@jalextowle jalextowle requested a review from jrhea February 25, 2024 06:19
@github-actions
Copy link

github-actions bot commented Feb 25, 2024

Hyperdrive Gas Benchmark

Benchmark suite Current: a33d130 Previous: 38123c5 Deviation Status
addLiquidity: min 33974 gas 1546 gas 2097.5420% 🚨
addLiquidity: avg 141491 gas 67075 gas 110.9445% 🚨
addLiquidity: max 336682 gas 293159 gas 14.8462% 🚨
checkpoint: min 29265 gas 1182 gas 2375.8883% 🚨
checkpoint: avg 106414 gas 48566 gas 119.1121% 🚨
checkpoint: max 199040 gas 191559 gas 3.9053% 🚨
closeLong: min 31333 gas 1492 gas 2000.0670% 🚨
closeLong: avg 99529 gas 29320 gas 239.4577% 🚨
closeLong: max 217386 gas 152215 gas 42.8151% 🚨
closeShort: min 31335 gas 1494 gas 1997.3896% 🚨
closeShort: avg 97912 gas 33420 gas 192.9743% 🚨
closeShort: max 179837 gas 149177 gas 20.5528% 🚨
initialize: min 31350 gas 1451 gas 2060.5789% 🚨
initialize: avg 248546 gas 213932 gas 16.1799% 🚨
initialize: max 319421 gas 253953 gas 25.7796% 🚨
openLong: min 33415 gas 1499 gas 2129.1528% 🚨
openLong: avg 124217 gas 51696 gas 140.2836% 🚨
openLong: max 245841 gas 185666 gas 32.4103% 🚨
openShort: min 33820 gas 1520 gas 2125% 🚨
openShort: avg 135815 gas 51434 gas 164.0568% 🚨
openShort: max 250793 gas 181325 gas 38.3113% 🚨
redeemWithdrawalShares: min 46854 gas 1488 gas 3048.7903% 🚨
redeemWithdrawalShares: avg 72986 gas 21936 gas 232.7225% 🚨
redeemWithdrawalShares: max 142865 gas 109301 gas 30.7079% 🚨
removeLiquidity: min 31183 gas 1530 gas 1938.1046% 🚨
removeLiquidity: avg 193200 gas 152880 gas 26.3736% 🚨
removeLiquidity: max 325809 gas 325781 gas 0.0086% 🚨

This comment was automatically generated by workflow using github-action-benchmark.

Copy link
Contributor

@jrhea jrhea left a comment

Choose a reason for hiding this comment

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

jeez. good catch

@jalextowle jalextowle enabled auto-merge (squash) February 29, 2024 23:33
@jalextowle jalextowle merged commit 28af7ba into main Mar 1, 2024
@jalextowle jalextowle deleted the jalextowle/audit/spearbit-54 branch March 1, 2024 00:21
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.

3 participants