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

[Benchmark] Include 'mkTermToEvaluate' in 'benchmark-decode' #6667

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

effectfully
Copy link
Contributor

mkTermToEvaluate is a part of the script preparation phase. It looks rather inefficient (in two different ways) and we don't seem to have any dedicated benchmarks for catching that other than validation-full, but that's too insensitive due to it evaluating the scripts. I really don't believe there's a good reason for mkTermToEvaluate to be inefficient, so I think we should include it in the decoding benchmarks.

Let's see how much overhead mkTermToEvaluate contributes.

@effectfully
Copy link
Contributor Author

/benchmark validation-decode

2 similar comments
@effectfully
Copy link
Contributor Author

/benchmark validation-decode

@effectfully
Copy link
Contributor Author

/benchmark validation-decode

Copy link
Contributor

Click here to check the status of your benchmark.

Copy link
Contributor

Comparing benchmark results of 'validation-decode' on '1d9a758c1f' (base) and 'a803b77a84' (PR)

Results table
Script 1d9a758 a803b77 Change
auction_1-1 276.4 μs 336.3 μs +21.7%
auction_1-2 778.3 μs 977.7 μs +25.6%
auction_1-3 778.6 μs 968.2 μs +24.4%
auction_1-4 276.6 μs 335.5 μs +21.3%
auction_2-1 275.9 μs 335.5 μs +21.6%
auction_2-2 761.1 μs 966.3 μs +27.0%
auction_2-3 779.0 μs 952.2 μs +22.2%
auction_2-4 777.5 μs 964.1 μs +24.0%
auction_2-5 276.9 μs 335.0 μs +21.0%
crowdfunding-success-1 337.9 μs 412.2 μs +22.0%
crowdfunding-success-2 337.8 μs 412.6 μs +22.1%
crowdfunding-success-3 337.3 μs 412.0 μs +22.1%
currency-1 341.3 μs 409.5 μs +20.0%
escrow-redeem_1-1 450.9 μs 555.0 μs +23.1%
escrow-redeem_1-2 450.2 μs 553.8 μs +23.0%
escrow-redeem_2-1 447.5 μs 554.2 μs +23.8%
escrow-redeem_2-2 450.9 μs 553.5 μs +22.8%
escrow-redeem_2-3 449.2 μs 554.9 μs +23.5%
escrow-refund-1 449.0 μs 552.6 μs +23.1%
future-increase-margin-1 341.3 μs 410.8 μs +20.4%
future-increase-margin-2 454.6 μs 559.5 μs +23.1%
future-increase-margin-3 455.5 μs 560.6 μs +23.1%
future-increase-margin-4 979.9 μs 1.199 ms +22.4%
future-increase-margin-5 968.6 μs 1.194 ms +23.3%
future-pay-out-1 340.2 μs 408.8 μs +20.2%
future-pay-out-2 455.8 μs 560.5 μs +23.0%
future-pay-out-3 452.8 μs 558.7 μs +23.4%
future-pay-out-4 979.0 μs 1.200 ms +22.6%
future-settle-early-1 341.0 μs 408.3 μs +19.7%
future-settle-early-2 453.2 μs 559.5 μs +23.5%
future-settle-early-3 452.6 μs 560.7 μs +23.9%
future-settle-early-4 959.8 μs 1.199 ms +24.9%
game-sm-success_1-1 754.8 μs 924.9 μs +22.5%
game-sm-success_1-2 234.3 μs 288.3 μs +23.0%
game-sm-success_1-3 755.3 μs 923.9 μs +22.3%
game-sm-success_1-4 233.4 μs 288.3 μs +23.5%
game-sm-success_2-1 755.6 μs 922.7 μs +22.1%
game-sm-success_2-2 233.7 μs 287.9 μs +23.2%
game-sm-success_2-3 737.3 μs 923.7 μs +25.3%
game-sm-success_2-4 235.0 μs 287.9 μs +22.5%
game-sm-success_2-5 747.0 μs 923.4 μs +23.6%
game-sm-success_2-6 234.4 μs 287.6 μs +22.7%
multisig-sm-1 823.7 μs 1.029 ms +24.9%
multisig-sm-2 839.6 μs 1.027 ms +22.3%
multisig-sm-3 840.8 μs 1.028 ms +22.3%
multisig-sm-4 839.5 μs 1.027 ms +22.3%
multisig-sm-5 838.5 μs 1.029 ms +22.7%
multisig-sm-6 839.5 μs 1.029 ms +22.6%
multisig-sm-7 828.0 μs 1.029 ms +24.3%
multisig-sm-8 839.4 μs 1.027 ms +22.3%
multisig-sm-9 840.5 μs 1.028 ms +22.3%
multisig-sm-10 841.0 μs 1.030 ms +22.5%
ping-pong-1 706.0 μs 862.5 μs +22.2%
ping-pong-2 704.0 μs 861.0 μs +22.3%
ping-pong_2-1 690.7 μs 859.2 μs +24.4%
prism-1 230.1 μs 279.8 μs +21.6%
prism-2 750.9 μs 913.2 μs +21.6%
prism-3 344.5 μs 415.6 μs +20.6%
pubkey-1 236.2 μs 288.5 μs +22.1%
stablecoin_1-1 1.258 ms 1.521 ms +20.9%
stablecoin_1-2 234.1 μs 288.8 μs +23.4%
stablecoin_1-3 1.261 ms 1.523 ms +20.8%
stablecoin_1-4 235.0 μs 286.9 μs +22.1%
stablecoin_1-5 1.257 ms 1.525 ms +21.3%
stablecoin_1-6 233.7 μs 288.2 μs +23.3%
stablecoin_2-1 1.257 ms 1.521 ms +21.0%
stablecoin_2-2 234.8 μs 288.6 μs +22.9%
stablecoin_2-3 1.231 ms 1.524 ms +23.8%
stablecoin_2-4 234.4 μs 287.4 μs +22.6%
token-account-1 339.8 μs 412.8 μs +21.5%
token-account-2 303.4 μs 372.0 μs +22.6%
uniswap-1 336.2 μs 417.8 μs +24.3%
uniswap-2 331.3 μs 409.6 μs +23.6%
uniswap-3 1.031 ms 1.274 ms +23.6%
uniswap-4 255.0 μs 311.0 μs +22.0%
uniswap-5 1.030 ms 1.284 ms +24.7%
uniswap-6 254.9 μs 309.0 μs +21.2%
vesting-1 456.9 μs 566.1 μs +23.9%
1d9a758 a803b77 Change
TOTAL 45.39 ms 55.75 ms +22.8%

Copy link
Contributor

Click here to check the status of your benchmark.

Copy link
Contributor

Comparing benchmark results of 'validation-decode' on '1d9a758c1f' (base) and 'a803b77a84' (PR)

Results table
Script 1d9a758 a803b77 Change
auction_1-1 266.6 μs 328.2 μs +23.1%
auction_1-2 756.0 μs 940.1 μs +24.4%
auction_1-3 758.0 μs 940.0 μs +24.0%
auction_1-4 267.5 μs 328.1 μs +22.7%
auction_2-1 267.6 μs 329.1 μs +23.0%
auction_2-2 737.1 μs 938.6 μs +27.3%
auction_2-3 756.8 μs 938.0 μs +23.9%
auction_2-4 756.9 μs 941.3 μs +24.4%
auction_2-5 267.0 μs 328.4 μs +23.0%
crowdfunding-success-1 326.3 μs 405.1 μs +24.1%
crowdfunding-success-2 326.0 μs 405.1 μs +24.3%
crowdfunding-success-3 325.2 μs 405.4 μs +24.7%
currency-1 328.4 μs 403.0 μs +22.7%
escrow-redeem_1-1 433.9 μs 543.8 μs +25.3%
escrow-redeem_1-2 432.7 μs 546.2 μs +26.2%
escrow-redeem_2-1 436.0 μs 546.1 μs +25.3%
escrow-redeem_2-2 432.9 μs 543.3 μs +25.5%
escrow-redeem_2-3 433.2 μs 543.7 μs +25.5%
escrow-refund-1 432.4 μs 543.9 μs +25.8%
future-increase-margin-1 329.5 μs 403.1 μs +22.3%
future-increase-margin-2 439.3 μs 549.0 μs +25.0%
future-increase-margin-3 437.6 μs 550.7 μs +25.8%
future-increase-margin-4 940.0 μs 1.181 ms +25.6%
future-increase-margin-5 947.6 μs 1.183 ms +24.8%
future-pay-out-1 328.6 μs 401.6 μs +22.2%
future-pay-out-2 437.5 μs 549.3 μs +25.6%
future-pay-out-3 439.6 μs 549.6 μs +25.0%
future-pay-out-4 950.4 μs 1.182 ms +24.4%
future-settle-early-1 328.8 μs 400.6 μs +21.8%
future-settle-early-2 439.5 μs 552.3 μs +25.7%
future-settle-early-3 437.1 μs 549.6 μs +25.7%
future-settle-early-4 929.2 μs 1.182 ms +27.2%
game-sm-success_1-1 725.6 μs 911.5 μs +25.6%
game-sm-success_1-2 227.2 μs 280.8 μs +23.6%
game-sm-success_1-3 733.0 μs 911.3 μs +24.3%
game-sm-success_1-4 231.7 μs 281.6 μs +21.5%
game-sm-success_2-1 734.2 μs 909.3 μs +23.8%
game-sm-success_2-2 227.1 μs 281.6 μs +24.0%
game-sm-success_2-3 732.9 μs 910.9 μs +24.3%
game-sm-success_2-4 226.8 μs 283.4 μs +25.0%
game-sm-success_2-5 731.9 μs 913.8 μs +24.9%
game-sm-success_2-6 226.5 μs 283.6 μs +25.2%
multisig-sm-1 816.8 μs 1.018 ms +24.6%
multisig-sm-2 816.2 μs 1.018 ms +24.7%
multisig-sm-3 815.9 μs 1.015 ms +24.4%
multisig-sm-4 817.2 μs 1.017 ms +24.4%
multisig-sm-5 816.1 μs 1.020 ms +25.0%
multisig-sm-6 813.9 μs 1.019 ms +25.2%
multisig-sm-7 817.0 μs 1.015 ms +24.2%
multisig-sm-8 815.1 μs 1.016 ms +24.6%
multisig-sm-9 814.4 μs 1.018 ms +25.0%
multisig-sm-10 813.9 μs 1.016 ms +24.8%
ping-pong-1 683.3 μs 850.7 μs +24.5%
ping-pong-2 683.3 μs 847.0 μs +24.0%
ping-pong_2-1 683.7 μs 850.1 μs +24.3%
prism-1 222.8 μs 275.2 μs +23.5%
prism-2 726.7 μs 900.2 μs +23.9%
prism-3 333.8 μs 410.0 μs +22.8%
pubkey-1 227.4 μs 282.4 μs +24.2%
stablecoin_1-1 1.221 ms 1.504 ms +23.2%
stablecoin_1-2 225.5 μs 281.7 μs +24.9%
stablecoin_1-3 1.221 ms 1.508 ms +23.5%
stablecoin_1-4 227.2 μs 282.8 μs +24.5%
stablecoin_1-5 1.222 ms 1.507 ms +23.3%
stablecoin_1-6 226.0 μs 282.5 μs +25.0%
stablecoin_2-1 1.197 ms 1.507 ms +25.9%
stablecoin_2-2 226.8 μs 282.9 μs +24.7%
stablecoin_2-3 1.220 ms 1.506 ms +23.4%
stablecoin_2-4 227.2 μs 282.7 μs +24.4%
token-account-1 328.8 μs 404.0 μs +22.9%
token-account-2 293.5 μs 365.6 μs +24.6%
uniswap-1 333.5 μs 408.2 μs +22.4%
uniswap-2 330.0 μs 403.7 μs +22.3%
uniswap-3 1.026 ms 1.259 ms +22.7%
uniswap-4 246.1 μs 304.9 μs +23.9%
uniswap-5 1.024 ms 1.257 ms +22.8%
uniswap-6 247.1 μs 303.7 μs +22.9%
vesting-1 442.9 μs 558.3 μs +26.1%
1d9a758 a803b77 Change
TOTAL 44.13 ms 54.90 ms +24.4%

Copy link
Contributor

Click here to check the status of your benchmark.

Copy link
Contributor

Comparing benchmark results of 'validation-decode' on '1d9a758c1f' (base) and 'a803b77a84' (PR)

Results table
Script 1d9a758 a803b77 Change
auction_1-1 267.4 μs 334.0 μs +24.9%
auction_1-2 757.5 μs 959.0 μs +26.6%
auction_1-3 757.7 μs 950.6 μs +25.5%
auction_1-4 273.8 μs 334.8 μs +22.3%
auction_2-1 267.7 μs 333.7 μs +24.7%
auction_2-2 758.1 μs 962.8 μs +27.0%
auction_2-3 759.2 μs 957.9 μs +26.2%
auction_2-4 757.1 μs 963.8 μs +27.3%
auction_2-5 268.4 μs 334.5 μs +24.6%
crowdfunding-success-1 325.7 μs 409.6 μs +25.8%
crowdfunding-success-2 325.8 μs 410.7 μs +26.1%
crowdfunding-success-3 325.6 μs 411.0 μs +26.2%
currency-1 322.4 μs 407.5 μs +26.4%
escrow-redeem_1-1 436.0 μs 551.2 μs +26.4%
escrow-redeem_1-2 436.6 μs 551.2 μs +26.2%
escrow-redeem_2-1 435.4 μs 551.5 μs +26.7%
escrow-redeem_2-2 439.0 μs 552.0 μs +25.7%
escrow-redeem_2-3 433.1 μs 550.7 μs +27.2%
escrow-refund-1 436.2 μs 551.7 μs +26.5%
future-increase-margin-1 329.9 μs 408.4 μs +23.8%
future-increase-margin-2 440.5 μs 557.4 μs +26.5%
future-increase-margin-3 438.2 μs 557.3 μs +27.2%
future-increase-margin-4 927.0 μs 1.197 ms +29.1%
future-increase-margin-5 926.8 μs 1.194 ms +28.8%
future-pay-out-1 328.9 μs 408.6 μs +24.2%
future-pay-out-2 439.8 μs 558.5 μs +27.0%
future-pay-out-3 438.8 μs 557.8 μs +27.1%
future-pay-out-4 929.9 μs 1.193 ms +28.3%
future-settle-early-1 319.2 μs 408.2 μs +27.9%
future-settle-early-2 438.4 μs 557.2 μs +27.1%
future-settle-early-3 439.8 μs 558.5 μs +27.0%
future-settle-early-4 930.5 μs 1.196 ms +28.5%
game-sm-success_1-1 716.1 μs 920.5 μs +28.5%
game-sm-success_1-2 225.6 μs 285.1 μs +26.4%
game-sm-success_1-3 713.7 μs 922.0 μs +29.2%
game-sm-success_1-4 225.7 μs 285.4 μs +26.5%
game-sm-success_2-1 732.4 μs 923.0 μs +26.0%
game-sm-success_2-2 226.0 μs 285.4 μs +26.3%
game-sm-success_2-3 714.1 μs 922.4 μs +29.2%
game-sm-success_2-4 225.5 μs 286.3 μs +27.0%
game-sm-success_2-5 732.5 μs 921.1 μs +25.7%
game-sm-success_2-6 225.3 μs 286.3 μs +27.1%
multisig-sm-1 791.9 μs 1.026 ms +29.6%
multisig-sm-2 795.5 μs 1.025 ms +28.8%
multisig-sm-3 795.6 μs 1.025 ms +28.8%
multisig-sm-4 795.3 μs 1.025 ms +28.9%
multisig-sm-5 792.4 μs 1.026 ms +29.5%
multisig-sm-6 813.8 μs 1.025 ms +26.0%
multisig-sm-7 795.4 μs 1.026 ms +29.0%
multisig-sm-8 794.3 μs 1.023 ms +28.8%
multisig-sm-9 814.3 μs 1.029 ms +26.4%
multisig-sm-10 789.2 μs 1.025 ms +29.9%
ping-pong-1 666.6 μs 857.0 μs +28.6%
ping-pong-2 667.1 μs 858.6 μs +28.7%
ping-pong_2-1 666.5 μs 857.0 μs +28.6%
prism-1 221.9 μs 277.5 μs +25.1%
prism-2 712.8 μs 910.3 μs +27.7%
prism-3 325.1 μs 417.8 μs +28.5%
pubkey-1 227.3 μs 287.1 μs +26.3%
stablecoin_1-1 1.192 ms 1.520 ms +27.5%
stablecoin_1-2 225.5 μs 287.0 μs +27.3%
stablecoin_1-3 1.199 ms 1.518 ms +26.6%
stablecoin_1-4 226.0 μs 286.5 μs +26.8%
stablecoin_1-5 1.203 ms 1.516 ms +26.0%
stablecoin_1-6 226.3 μs 285.7 μs +26.2%
stablecoin_2-1 1.222 ms 1.517 ms +24.1%
stablecoin_2-2 227.0 μs 286.0 μs +26.0%
stablecoin_2-3 1.219 ms 1.520 ms +24.7%
stablecoin_2-4 226.7 μs 287.1 μs +26.6%
token-account-1 323.4 μs 411.9 μs +27.4%
token-account-2 292.9 μs 369.9 μs +26.3%
uniswap-1 325.8 μs 415.9 μs +27.7%
uniswap-2 329.7 μs 407.3 μs +23.5%
uniswap-3 1.027 ms 1.282 ms +24.8%
uniswap-4 242.6 μs 307.7 μs +26.8%
uniswap-5 1.025 ms 1.279 ms +24.8%
uniswap-6 242.9 μs 309.1 μs +27.3%
vesting-1 442.7 μs 563.7 μs +27.3%
1d9a758 a803b77 Change
TOTAL 43.73 ms 55.56 ms +27.0%

@effectfully effectfully force-pushed the effectfully/benchmark/include-mkTermToEvaluate-in-benchmark-decode branch from a803b77 to 074b5ce Compare November 25, 2024 04:34
@effectfully
Copy link
Contributor Author

/benchmark validation

2 similar comments
@effectfully
Copy link
Contributor Author

/benchmark validation

@effectfully
Copy link
Contributor Author

/benchmark validation

Copy link
Contributor

Click here to check the status of your benchmark.

@effectfully
Copy link
Contributor Author

Just checking that the benchmarking machine does not see no changes in performance as changes.

Copy link
Contributor

Comparing benchmark results of 'validation' on '5eb80f3fe3' (base) and '074b5ce7b1' (PR)

Results table
Script 5eb80f3 074b5ce Change
auction_1-1 240.6 μs 238.7 μs -0.8%
auction_1-2 785.1 μs 789.5 μs +0.6%
auction_1-3 770.9 μs 768.9 μs -0.3%
auction_1-4 312.2 μs 308.5 μs -1.2%
auction_2-1 241.2 μs 238.9 μs -1.0%
auction_2-2 789.6 μs 788.8 μs -0.1%
auction_2-3 1.018 ms 1.018 ms 0.0%
auction_2-4 772.2 μs 776.2 μs +0.5%
auction_2-5 311.5 μs 309.5 μs -0.6%
crowdfunding-success-1 280.5 μs 280.6 μs +0.0%
crowdfunding-success-2 280.0 μs 280.3 μs +0.1%
crowdfunding-success-3 280.2 μs 279.8 μs -0.1%
currency-1 313.0 μs 313.1 μs +0.0%
escrow-redeem_1-1 441.3 μs 436.8 μs -1.0%
escrow-redeem_1-2 440.9 μs 437.4 μs -0.8%
escrow-redeem_2-1 516.0 μs 509.2 μs -1.3%
escrow-redeem_2-2 527.2 μs 512.9 μs -2.7%
escrow-redeem_2-3 515.6 μs 508.7 μs -1.3%
escrow-refund-1 207.4 μs 206.2 μs -0.6%
future-increase-margin-1 319.7 μs 315.9 μs -1.2%
future-increase-margin-2 666.7 μs 667.4 μs +0.1%
future-increase-margin-3 665.1 μs 667.0 μs +0.3%
future-increase-margin-4 602.6 μs 600.1 μs -0.4%
future-increase-margin-5 994.2 μs 995.0 μs +0.1%
future-pay-out-1 314.8 μs 313.7 μs -0.3%
future-pay-out-2 666.3 μs 665.6 μs -0.1%
future-pay-out-3 665.2 μs 662.6 μs -0.4%
future-pay-out-4 1.005 ms 997.8 μs -0.7%
future-settle-early-1 313.9 μs 313.4 μs -0.2%
future-settle-early-2 667.1 μs 671.7 μs +0.7%
future-settle-early-3 667.9 μs 666.5 μs -0.2%
future-settle-early-4 770.1 μs 752.3 μs -2.3%
game-sm-success_1-1 488.4 μs 486.4 μs -0.4%
game-sm-success_1-2 269.4 μs 268.2 μs -0.4%
game-sm-success_1-3 791.8 μs 789.3 μs -0.3%
game-sm-success_1-4 313.4 μs 312.6 μs -0.3%
game-sm-success_2-1 489.1 μs 487.5 μs -0.3%
game-sm-success_2-2 269.6 μs 268.7 μs -0.3%
game-sm-success_2-3 790.8 μs 789.9 μs -0.1%
game-sm-success_2-4 313.6 μs 313.0 μs -0.2%
game-sm-success_2-5 791.2 μs 783.3 μs -1.0%
game-sm-success_2-6 314.5 μs 313.6 μs -0.3%
multisig-sm-1 498.9 μs 495.7 μs -0.6%
multisig-sm-2 491.2 μs 484.8 μs -1.3%
multisig-sm-3 495.0 μs 491.6 μs -0.7%
multisig-sm-4 494.6 μs 494.0 μs -0.1%
multisig-sm-5 679.8 μs 678.5 μs -0.2%
multisig-sm-6 497.7 μs 499.1 μs +0.3%
multisig-sm-7 485.5 μs 484.0 μs -0.3%
multisig-sm-8 490.7 μs 487.8 μs -0.6%
multisig-sm-9 499.8 μs 497.1 μs -0.5%
multisig-sm-10 696.7 μs 678.4 μs -2.6%
ping-pong-1 414.1 μs 411.1 μs -0.7%
ping-pong-2 411.4 μs 412.1 μs +0.2%
ping-pong_2-1 257.9 μs 258.7 μs +0.3%
prism-1 228.4 μs 227.8 μs -0.3%
prism-2 527.0 μs 523.2 μs -0.7%
prism-3 471.2 μs 469.1 μs -0.4%
pubkey-1 191.0 μs 192.3 μs +0.7%
stablecoin_1-1 1.159 ms 1.150 ms -0.8%
stablecoin_1-2 263.1 μs 261.8 μs -0.5%
stablecoin_1-3 1.319 ms 1.315 ms -0.3%
stablecoin_1-4 280.3 μs 279.2 μs -0.4%
stablecoin_1-5 1.686 ms 1.667 ms -1.1%
stablecoin_1-6 345.0 μs 343.2 μs -0.5%
stablecoin_2-1 1.161 ms 1.146 ms -1.3%
stablecoin_2-2 262.9 μs 262.6 μs -0.1%
stablecoin_2-3 1.318 ms 1.308 ms -0.8%
stablecoin_2-4 280.3 μs 281.7 μs +0.5%
token-account-1 243.1 μs 241.8 μs -0.5%
token-account-2 433.4 μs 423.2 μs -2.4%
uniswap-1 504.7 μs 495.5 μs -1.8%
uniswap-2 285.7 μs 285.9 μs +0.1%
uniswap-3 2.138 ms 2.134 ms -0.2%
uniswap-4 448.0 μs 444.4 μs -0.8%
uniswap-5 1.437 ms 1.439 ms +0.1%
uniswap-6 425.7 μs 426.1 μs +0.1%
vesting-1 437.0 μs 432.9 μs -0.9%
5eb80f3 074b5ce Change
TOTAL 44.45 ms 44.23 ms -0.5%

Copy link
Contributor

Click here to check the status of your benchmark.

Copy link
Contributor

Comparing benchmark results of 'validation' on '5eb80f3fe3' (base) and '074b5ce7b1' (PR)

Results table
Script 5eb80f3 074b5ce Change
auction_1-1 241.0 μs 236.5 μs -1.9%
auction_1-2 789.8 μs 785.8 μs -0.5%
auction_1-3 771.0 μs 773.6 μs +0.3%
auction_1-4 312.2 μs 306.6 μs -1.8%
auction_2-1 241.1 μs 238.7 μs -1.0%
auction_2-2 783.8 μs 787.7 μs +0.5%
auction_2-3 1.018 ms 1.007 ms -1.1%
auction_2-4 773.1 μs 769.7 μs -0.4%
auction_2-5 312.4 μs 306.3 μs -2.0%
crowdfunding-success-1 280.6 μs 278.2 μs -0.9%
crowdfunding-success-2 281.1 μs 278.3 μs -1.0%
crowdfunding-success-3 280.1 μs 277.5 μs -0.9%
currency-1 312.9 μs 312.7 μs -0.1%
escrow-redeem_1-1 440.3 μs 435.4 μs -1.1%
escrow-redeem_1-2 441.4 μs 435.3 μs -1.4%
escrow-redeem_2-1 511.1 μs 507.6 μs -0.7%
escrow-redeem_2-2 511.8 μs 506.8 μs -1.0%
escrow-redeem_2-3 510.0 μs 505.9 μs -0.8%
escrow-refund-1 206.8 μs 204.5 μs -1.1%
future-increase-margin-1 312.4 μs 312.3 μs -0.0%
future-increase-margin-2 666.9 μs 662.4 μs -0.7%
future-increase-margin-3 665.6 μs 659.9 μs -0.9%
future-increase-margin-4 601.3 μs 602.2 μs +0.1%
future-increase-margin-5 1.014 ms 989.5 μs -2.4%
future-pay-out-1 313.1 μs 311.8 μs -0.4%
future-pay-out-2 664.9 μs 660.4 μs -0.7%
future-pay-out-3 665.4 μs 660.6 μs -0.7%
future-pay-out-4 1.002 ms 995.2 μs -0.7%
future-settle-early-1 314.6 μs 312.3 μs -0.7%
future-settle-early-2 671.9 μs 661.1 μs -1.6%
future-settle-early-3 667.4 μs 662.6 μs -0.7%
future-settle-early-4 764.9 μs 754.1 μs -1.4%
game-sm-success_1-1 490.1 μs 484.8 μs -1.1%
game-sm-success_1-2 269.4 μs 266.6 μs -1.0%
game-sm-success_1-3 790.7 μs 779.5 μs -1.4%
game-sm-success_1-4 313.9 μs 309.5 μs -1.4%
game-sm-success_2-1 489.1 μs 484.4 μs -1.0%
game-sm-success_2-2 269.2 μs 267.0 μs -0.8%
game-sm-success_2-3 791.4 μs 780.5 μs -1.4%
game-sm-success_2-4 314.6 μs 309.3 μs -1.7%
game-sm-success_2-5 792.0 μs 779.1 μs -1.6%
game-sm-success_2-6 313.9 μs 309.9 μs -1.3%
multisig-sm-1 509.5 μs 492.9 μs -3.3%
multisig-sm-2 487.3 μs 481.8 μs -1.1%
multisig-sm-3 483.6 μs 486.6 μs +0.6%
multisig-sm-4 498.1 μs 493.9 μs -0.8%
multisig-sm-5 682.6 μs 677.7 μs -0.7%
multisig-sm-6 498.6 μs 494.3 μs -0.9%
multisig-sm-7 488.6 μs 484.0 μs -0.9%
multisig-sm-8 485.2 μs 488.0 μs +0.6%
multisig-sm-9 499.6 μs 492.2 μs -1.5%
multisig-sm-10 680.7 μs 675.4 μs -0.8%
ping-pong-1 411.3 μs 409.2 μs -0.5%
ping-pong-2 411.5 μs 409.2 μs -0.6%
ping-pong_2-1 266.1 μs 256.7 μs -3.5%
prism-1 227.7 μs 225.5 μs -1.0%
prism-2 524.5 μs 518.8 μs -1.1%
prism-3 470.2 μs 465.8 μs -0.9%
pubkey-1 191.2 μs 190.1 μs -0.6%
stablecoin_1-1 1.170 ms 1.158 ms -1.0%
stablecoin_1-2 263.1 μs 260.8 μs -0.9%
stablecoin_1-3 1.322 ms 1.304 ms -1.4%
stablecoin_1-4 279.4 μs 277.8 μs -0.6%
stablecoin_1-5 1.699 ms 1.669 ms -1.8%
stablecoin_1-6 344.2 μs 340.9 μs -1.0%
stablecoin_2-1 1.162 ms 1.145 ms -1.5%
stablecoin_2-2 263.3 μs 260.3 μs -1.1%
stablecoin_2-3 1.342 ms 1.315 ms -2.0%
stablecoin_2-4 279.9 μs 277.2 μs -1.0%
token-account-1 243.0 μs 240.1 μs -1.2%
token-account-2 425.9 μs 420.2 μs -1.3%
uniswap-1 498.5 μs 496.7 μs -0.4%
uniswap-2 285.5 μs 285.9 μs +0.1%
uniswap-3 2.137 ms 2.128 ms -0.4%
uniswap-4 451.9 μs 442.5 μs -2.1%
uniswap-5 1.433 ms 1.430 ms -0.2%
uniswap-6 425.6 μs 421.8 μs -0.9%
vesting-1 434.2 μs 434.7 μs +0.1%
5eb80f3 074b5ce Change
TOTAL 44.45 ms 44.02 ms -1.0%

Copy link
Contributor

Click here to check the status of your benchmark.

Copy link
Contributor

Comparing benchmark results of 'validation' on '5eb80f3fe3' (base) and '074b5ce7b1' (PR)

Results table
Script 5eb80f3 074b5ce Change
auction_1-1 245.7 μs 236.4 μs -3.8%
auction_1-2 795.6 μs 779.7 μs -2.0%
auction_1-3 781.3 μs 770.0 μs -1.4%
auction_1-4 319.8 μs 306.0 μs -4.3%
auction_2-1 246.3 μs 238.0 μs -3.4%
auction_2-2 792.8 μs 785.6 μs -0.9%
auction_2-3 1.034 ms 1.009 ms -2.4%
auction_2-4 782.5 μs 772.9 μs -1.2%
auction_2-5 319.8 μs 307.5 μs -3.8%
crowdfunding-success-1 286.7 μs 277.9 μs -3.1%
crowdfunding-success-2 287.4 μs 278.5 μs -3.1%
crowdfunding-success-3 288.0 μs 277.9 μs -3.5%
currency-1 325.6 μs 314.0 μs -3.6%
escrow-redeem_1-1 447.7 μs 434.4 μs -3.0%
escrow-redeem_1-2 447.9 μs 436.5 μs -2.5%
escrow-redeem_2-1 520.9 μs 506.0 μs -2.9%
escrow-redeem_2-2 520.8 μs 509.0 μs -2.3%
escrow-redeem_2-3 524.1 μs 506.4 μs -3.4%
escrow-refund-1 211.6 μs 204.5 μs -3.4%
future-increase-margin-1 318.1 μs 312.2 μs -1.9%
future-increase-margin-2 678.7 μs 663.7 μs -2.2%
future-increase-margin-3 678.2 μs 660.9 μs -2.6%
future-increase-margin-4 612.0 μs 598.4 μs -2.2%
future-increase-margin-5 1.004 ms 990.0 μs -1.4%
future-pay-out-1 319.3 μs 314.9 μs -1.4%
future-pay-out-2 677.4 μs 660.8 μs -2.5%
future-pay-out-3 677.9 μs 669.6 μs -1.2%
future-pay-out-4 1.015 ms 1.005 ms -1.0%
future-settle-early-1 317.7 μs 312.7 μs -1.6%
future-settle-early-2 682.3 μs 663.8 μs -2.7%
future-settle-early-3 678.2 μs 663.5 μs -2.2%
future-settle-early-4 772.0 μs 759.7 μs -1.6%
game-sm-success_1-1 495.8 μs 484.7 μs -2.2%
game-sm-success_1-2 275.8 μs 266.3 μs -3.4%
game-sm-success_1-3 802.9 μs 787.1 μs -2.0%
game-sm-success_1-4 321.0 μs 309.1 μs -3.7%
game-sm-success_2-1 498.0 μs 490.7 μs -1.5%
game-sm-success_2-2 275.6 μs 265.8 μs -3.6%
game-sm-success_2-3 801.9 μs 779.9 μs -2.7%
game-sm-success_2-4 320.8 μs 309.4 μs -3.6%
game-sm-success_2-5 801.7 μs 784.5 μs -2.1%
game-sm-success_2-6 321.2 μs 308.8 μs -3.9%
multisig-sm-1 504.2 μs 493.4 μs -2.1%
multisig-sm-2 492.0 μs 484.3 μs -1.6%
multisig-sm-3 491.5 μs 489.3 μs -0.4%
multisig-sm-4 505.9 μs 490.3 μs -3.1%
multisig-sm-5 689.3 μs 679.3 μs -1.5%
multisig-sm-6 505.3 μs 494.9 μs -2.1%
multisig-sm-7 495.6 μs 492.1 μs -0.7%
multisig-sm-8 490.9 μs 490.9 μs 0.0%
multisig-sm-9 506.1 μs 493.9 μs -2.4%
multisig-sm-10 690.2 μs 676.0 μs -2.1%
ping-pong-1 421.6 μs 411.3 μs -2.4%
ping-pong-2 420.0 μs 410.7 μs -2.2%
ping-pong_2-1 263.0 μs 259.4 μs -1.4%
prism-1 233.4 μs 226.6 μs -2.9%
prism-2 532.3 μs 519.5 μs -2.4%
prism-3 478.7 μs 474.5 μs -0.9%
pubkey-1 196.2 μs 190.7 μs -2.8%
stablecoin_1-1 1.178 ms 1.148 ms -2.5%
stablecoin_1-2 268.7 μs 259.8 μs -3.3%
stablecoin_1-3 1.343 ms 1.323 ms -1.5%
stablecoin_1-4 286.8 μs 277.4 μs -3.3%
stablecoin_1-5 1.722 ms 1.662 ms -3.5%
stablecoin_1-6 352.3 μs 341.3 μs -3.1%
stablecoin_2-1 1.191 ms 1.156 ms -2.9%
stablecoin_2-2 268.7 μs 260.4 μs -3.1%
stablecoin_2-3 1.360 ms 1.323 ms -2.7%
stablecoin_2-4 286.4 μs 276.6 μs -3.4%
token-account-1 246.5 μs 240.1 μs -2.6%
token-account-2 433.4 μs 419.5 μs -3.2%
uniswap-1 500.5 μs 500.6 μs +0.0%
uniswap-2 290.9 μs 282.9 μs -2.8%
uniswap-3 2.153 ms 2.129 ms -1.1%
uniswap-4 458.3 μs 442.3 μs -3.5%
uniswap-5 1.459 ms 1.433 ms -1.8%
uniswap-6 435.8 μs 420.9 μs -3.4%
vesting-1 439.9 μs 431.5 μs -1.9%
5eb80f3 074b5ce Change
TOTAL 45.11 ms 44.12 ms -2.2%

@effectfully
Copy link
Contributor Author

Damn, I don't like that we are not seeing pure noise here...

@effectfully
Copy link
Contributor Author

/benchmark validation

@effectfully
Copy link
Contributor Author

/benchmark validation

3 similar comments
@effectfully
Copy link
Contributor Author

/benchmark validation

@effectfully
Copy link
Contributor Author

/benchmark validation

@effectfully
Copy link
Contributor Author

/benchmark validation

@effectfully effectfully marked this pull request as draft November 25, 2024 09:42
Copy link
Contributor

Click here to check the status of your benchmark.

Copy link
Contributor

Comparing benchmark results of 'validation' on '5eb80f3fe3' (base) and '074b5ce7b1' (PR)

Results table
Script 5eb80f3 074b5ce Change
auction_1-1 241.3 μs 241.3 μs 0.0%
auction_1-2 784.5 μs 797.0 μs +1.6%
auction_1-3 771.1 μs 778.3 μs +0.9%
auction_1-4 312.0 μs 314.0 μs +0.6%
auction_2-1 247.7 μs 241.6 μs -2.5%
auction_2-2 783.6 μs 800.0 μs +2.1%
auction_2-3 1.027 ms 1.024 ms -0.3%
auction_2-4 771.8 μs 790.0 μs +2.4%
auction_2-5 312.0 μs 313.5 μs +0.5%
crowdfunding-success-1 280.6 μs 282.3 μs +0.6%
crowdfunding-success-2 280.5 μs 285.4 μs +1.7%
crowdfunding-success-3 280.7 μs 282.5 μs +0.6%
currency-1 313.1 μs 320.8 μs +2.5%
escrow-redeem_1-1 439.6 μs 442.1 μs +0.6%
escrow-redeem_1-2 440.2 μs 443.5 μs +0.7%
escrow-redeem_2-1 510.3 μs 518.8 μs +1.7%
escrow-redeem_2-2 513.0 μs 519.3 μs +1.2%
escrow-redeem_2-3 510.7 μs 521.9 μs +2.2%
escrow-refund-1 207.3 μs 207.8 μs +0.2%
future-increase-margin-1 312.7 μs 318.1 μs +1.7%
future-increase-margin-2 668.2 μs 672.9 μs +0.7%
future-increase-margin-3 666.2 μs 678.7 μs +1.9%
future-increase-margin-4 603.0 μs 612.4 μs +1.6%
future-increase-margin-5 994.8 μs 1.007 ms +1.2%
future-pay-out-1 312.8 μs 323.7 μs +3.5%
future-pay-out-2 666.8 μs 681.0 μs +2.1%
future-pay-out-3 666.8 μs 671.9 μs +0.8%
future-pay-out-4 1.014 ms 1.003 ms -1.1%
future-settle-early-1 312.7 μs 317.4 μs +1.5%
future-settle-early-2 670.4 μs 675.3 μs +0.7%
future-settle-early-3 670.7 μs 677.7 μs +1.0%
future-settle-early-4 771.5 μs 758.6 μs -1.7%
game-sm-success_1-1 488.0 μs 492.7 μs +1.0%
game-sm-success_1-2 269.8 μs 270.3 μs +0.2%
game-sm-success_1-3 794.0 μs 808.9 μs +1.9%
game-sm-success_1-4 314.0 μs 324.0 μs +3.2%
game-sm-success_2-1 489.4 μs 504.4 μs +3.1%
game-sm-success_2-2 270.2 μs 271.8 μs +0.6%
game-sm-success_2-3 785.8 μs 800.1 μs +1.8%
game-sm-success_2-4 314.3 μs 315.3 μs +0.3%
game-sm-success_2-5 792.1 μs 796.8 μs +0.6%
game-sm-success_2-6 314.4 μs 315.4 μs +0.3%
multisig-sm-1 498.9 μs 503.9 μs +1.0%
multisig-sm-2 489.8 μs 490.6 μs +0.2%
multisig-sm-3 486.5 μs 498.9 μs +2.5%
multisig-sm-4 497.6 μs 502.2 μs +0.9%
multisig-sm-5 682.9 μs 687.9 μs +0.7%
multisig-sm-6 499.2 μs 503.3 μs +0.8%
multisig-sm-7 489.3 μs 491.3 μs +0.4%
multisig-sm-8 484.8 μs 498.5 μs +2.8%
multisig-sm-9 499.6 μs 508.2 μs +1.7%
multisig-sm-10 681.6 μs 686.8 μs +0.8%
ping-pong-1 417.1 μs 417.2 μs +0.0%
ping-pong-2 412.2 μs 426.2 μs +3.4%
ping-pong_2-1 257.5 μs 261.5 μs +1.6%
prism-1 228.6 μs 230.8 μs +1.0%
prism-2 523.3 μs 526.8 μs +0.7%
prism-3 471.1 μs 472.6 μs +0.3%
pubkey-1 191.6 μs 194.2 μs +1.4%
stablecoin_1-1 1.171 ms 1.171 ms 0.0%
stablecoin_1-2 263.1 μs 265.5 μs +0.9%
stablecoin_1-3 1.345 ms 1.348 ms +0.2%
stablecoin_1-4 279.5 μs 282.7 μs +1.1%
stablecoin_1-5 1.682 ms 1.724 ms +2.5%
stablecoin_1-6 345.1 μs 347.2 μs +0.6%
stablecoin_2-1 1.170 ms 1.169 ms -0.1%
stablecoin_2-2 263.3 μs 263.7 μs +0.2%
stablecoin_2-3 1.339 ms 1.322 ms -1.3%
stablecoin_2-4 280.2 μs 281.7 μs +0.5%
token-account-1 243.7 μs 246.7 μs +1.2%
token-account-2 428.7 μs 428.7 μs 0.0%
uniswap-1 500.2 μs 508.7 μs +1.7%
uniswap-2 286.2 μs 289.1 μs +1.0%
uniswap-3 2.139 ms 2.148 ms +0.4%
uniswap-4 447.9 μs 451.9 μs +0.9%
uniswap-5 1.436 ms 1.485 ms +3.4%
uniswap-6 425.9 μs 438.7 μs +3.0%
vesting-1 437.2 μs 439.3 μs +0.5%
5eb80f3 074b5ce Change
TOTAL 44.48 ms 44.93 ms +1.0%

Copy link
Contributor

Click here to check the status of your benchmark.

Copy link
Contributor

Comparing benchmark results of 'validation' on '5eb80f3fe3' (base) and '074b5ce7b1' (PR)

Results table
Script 5eb80f3 074b5ce Change
auction_1-1 246.7 μs 237.4 μs -3.8%
auction_1-2 791.7 μs 784.8 μs -0.9%
auction_1-3 780.4 μs 771.3 μs -1.2%
auction_1-4 320.2 μs 308.9 μs -3.5%
auction_2-1 247.0 μs 237.3 μs -3.9%
auction_2-2 799.5 μs 790.7 μs -1.1%
auction_2-3 1.032 ms 1.020 ms -1.2%
auction_2-4 781.7 μs 770.9 μs -1.4%
auction_2-5 320.2 μs 307.1 μs -4.1%
crowdfunding-success-1 287.9 μs 278.4 μs -3.3%
crowdfunding-success-2 288.3 μs 279.1 μs -3.2%
crowdfunding-success-3 288.1 μs 279.7 μs -2.9%
currency-1 324.5 μs 313.3 μs -3.5%
escrow-redeem_1-1 448.8 μs 438.3 μs -2.3%
escrow-redeem_1-2 448.8 μs 435.1 μs -3.1%
escrow-redeem_2-1 522.5 μs 511.6 μs -2.1%
escrow-redeem_2-2 521.5 μs 507.0 μs -2.8%
escrow-redeem_2-3 521.5 μs 507.7 μs -2.6%
escrow-refund-1 212.8 μs 205.8 μs -3.3%
future-increase-margin-1 320.4 μs 318.0 μs -0.7%
future-increase-margin-2 677.7 μs 671.9 μs -0.9%
future-increase-margin-3 681.7 μs 677.0 μs -0.7%
future-increase-margin-4 616.8 μs 599.1 μs -2.9%
future-increase-margin-5 1.013 ms 995.2 μs -1.8%
future-pay-out-1 319.2 μs 313.0 μs -1.9%
future-pay-out-2 677.8 μs 662.9 μs -2.2%
future-pay-out-3 677.4 μs 665.2 μs -1.8%
future-pay-out-4 1.018 ms 991.3 μs -2.6%
future-settle-early-1 317.8 μs 313.5 μs -1.4%
future-settle-early-2 679.3 μs 662.9 μs -2.4%
future-settle-early-3 683.3 μs 668.8 μs -2.1%
future-settle-early-4 777.6 μs 760.5 μs -2.2%
game-sm-success_1-1 495.7 μs 490.7 μs -1.0%
game-sm-success_1-2 276.4 μs 267.0 μs -3.4%
game-sm-success_1-3 803.7 μs 790.5 μs -1.6%
game-sm-success_1-4 322.7 μs 310.7 μs -3.7%
game-sm-success_2-1 496.7 μs 485.7 μs -2.2%
game-sm-success_2-2 277.1 μs 267.1 μs -3.6%
game-sm-success_2-3 796.2 μs 781.7 μs -1.8%
game-sm-success_2-4 322.5 μs 311.1 μs -3.5%
game-sm-success_2-5 803.6 μs 782.1 μs -2.7%
game-sm-success_2-6 321.7 μs 310.0 μs -3.6%
multisig-sm-1 506.1 μs 494.7 μs -2.3%
multisig-sm-2 497.6 μs 491.2 μs -1.3%
multisig-sm-3 490.3 μs 484.5 μs -1.2%
multisig-sm-4 508.5 μs 494.9 μs -2.7%
multisig-sm-5 699.0 μs 679.7 μs -2.8%
multisig-sm-6 504.6 μs 497.2 μs -1.5%
multisig-sm-7 494.3 μs 485.9 μs -1.7%
multisig-sm-8 495.8 μs 493.9 μs -0.4%
multisig-sm-9 508.8 μs 494.9 μs -2.7%
multisig-sm-10 699.7 μs 678.0 μs -3.1%
ping-pong-1 418.3 μs 411.4 μs -1.6%
ping-pong-2 417.4 μs 415.2 μs -0.5%
ping-pong_2-1 263.6 μs 259.0 μs -1.7%
prism-1 234.1 μs 226.4 μs -3.3%
prism-2 536.0 μs 521.2 μs -2.8%
prism-3 480.0 μs 469.3 μs -2.2%
pubkey-1 196.6 μs 190.9 μs -2.9%
stablecoin_1-1 1.175 ms 1.149 ms -2.2%
stablecoin_1-2 269.7 μs 261.8 μs -2.9%
stablecoin_1-3 1.324 ms 1.332 ms +0.6%
stablecoin_1-4 287.7 μs 277.5 μs -3.5%
stablecoin_1-5 1.723 ms 1.678 ms -2.6%
stablecoin_1-6 354.6 μs 342.5 μs -3.4%
stablecoin_2-1 1.175 ms 1.160 ms -1.3%
stablecoin_2-2 269.7 μs 260.8 μs -3.3%
stablecoin_2-3 1.325 ms 1.328 ms +0.2%
stablecoin_2-4 288.1 μs 285.2 μs -1.0%
token-account-1 248.4 μs 241.7 μs -2.7%
token-account-2 434.5 μs 421.7 μs -2.9%
uniswap-1 504.2 μs 494.0 μs -2.0%
uniswap-2 291.6 μs 290.2 μs -0.5%
uniswap-3 2.154 ms 2.134 ms -0.9%
uniswap-4 460.7 μs 444.2 μs -3.6%
uniswap-5 1.454 ms 1.438 ms -1.1%
uniswap-6 438.0 μs 424.1 μs -3.2%
vesting-1 439.9 μs 436.3 μs -0.8%
5eb80f3 074b5ce Change
TOTAL 45.13 ms 44.27 ms -1.9%

Copy link
Contributor

Click here to check the status of your benchmark.

Copy link
Contributor

Click here to check the status of your benchmark.

Copy link
Contributor

Click here to check the status of your benchmark.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant