Skip to content

feat: bench script for an sdk client#2756

Merged
tamirhemo merged 8 commits into
mainfrom
tamir/bench-script
Apr 30, 2026
Merged

feat: bench script for an sdk client#2756
tamirhemo merged 8 commits into
mainfrom
tamir/bench-script

Conversation

@tamirhemo

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

github-actions Bot commented Apr 28, 2026

Copy link
Copy Markdown
Contributor
Test Old New Diff
bn_test_bn_test_fq_partial_ord 184120 184120 0.0000 %
sha_test_sha3_expected_digest_lte_100_times 1609017 1609073 0.0035 %
curve25519_dalek_test_decompressed_noncanonical 7660 7660 0.0000 %
k256_test_recover_pubkey_infinity 98274 98274 0.0000 %
sha_test_sha2_v0_10_6_expected_digest_lte_100_times 1760863 1762956 0.1189 %
k256_test_recover_high_hash_high_recid 2078333 1772678 -14.7067 %
bls12_381_tests_test_sqrt_fp_100 1097259 1036450 -5.5419 %
p256_test_recover_pubkey_infinity 102285 102285 0.0000 %
bn_test_bn_test_g1_msm_edge 406721 406721 0.0000 %
bn_test_bn_test_fr_inverse_100 851812 851812 0.0000 %
curve25519_dalek_test_zero_msm 83636 83636 0.0000 %
bn_test_bn_test_fq_sqrt_100 833212 833212 0.0000 %
curve25519_dalek_ng_test_zero_mul 108069 108069 0.0000 %
p256_test_recover_rand_lte_100 15978594 15957666 -0.1310 %
bn_test_bn_test_g1_double_100 727495 727495 0.0000 %
curve25519_dalek_test_decompressed_expected_value 4503210 4545357 0.9359 %
secp256k1_program_test_recover_rand_lte_100 5497248 5496137 -0.0202 %
secp256k1_program_test_verify_rand_lte_100 17143965 17195966 0.3033 %
secp256k1_program_test_verify_v0_30_0_rand_lte_100 17155635 17144494 -0.0649 %
sha_test_sha2_v0_9_9_expected_digest_lte_100_times 1262438 1262970 0.0421 %
bls12_381_tests_test_bls_double_100 6348821 6348821 0.0000 %
curve25519_dalek_test_add_then_multiply 2792869 2782528 -0.3703 %
secp256k1_program_test_recover_v0_30_0_rand_lte_100 5492792 5485191 -0.1384 %
bls12_381_tests_test_inverse_fp2_100 2766653 2766653 0.0000 %
bls12_381_tests_test_inverse_fp_100 1416558 1416558 0.0000 %
bn_test_bn_test_fq_inverse_100 834812 834812 0.0000 %
keccack_test_expected_digest_lte_100 1719875 1714160 -0.3323 %
rust_crypto_rsa_test_pkcs_verify_100 28581296 28770765 0.6629 %
rustcrypto_bigint_test_bigint_mul_mod_special 1753913 1753913 0.0000 %
p256_test_verify_rand_lte_100 11916406 11882490 -0.2846 %
k256_test_recover_rand_lte_100 4466295 4462654 -0.0815 %
sha_test_sha2_v0_10_9_expected_digest_lte_100_times 1762558 1767049 0.2548 %
bn_test_bn_test_g1_add_neg 306879 306879 0.0000 %
bn_test_bn_test_g1_add_100 986823 986802 -0.0021 %
curve25519_dalek_ng_test_decompressed_noncanonical 195590 195590 0.0000 %
k256_test_verify_rand_lte_100 11905230 11861735 -0.3653 %
p256_test_recover_high_hash_high_recid 4327109 4790350 10.7056 %
rustcrypto_bigint_test_bigint_mul_add_residue 1736504 1736520 0.0009 %
sha_test_sha2_v0_10_8_expected_digest_lte_100_times 1764028 1767556 0.2000 %
curve25519_dalek_test_ed25519_verify 13288997 13287335 -0.0125 %
curve25519_dalek_ng_test_zero_msm 125560 125560 0.0000 %
bls12_381_tests_test_sqrt_fp2_100 1703436 1807705 6.1211 %
curve25519_dalek_test_zero_mul 72086 72086 0.0000 %
k256_test_schnorr_verify 5736361 5745143 0.1531 %
bn_test_bn_test_g1_mul_zero 46120 46120 0.0000 %
curve25519_dalek_ng_test_add_then_multiply 3688341 4279270 16.0215 %
k256_test_point_ops_edge_cases 33843 33843 0.0000 %
bls12_381_tests_test_bls_add_100 10502108 10502108 0.0000 %

@tamirhemo tamirhemo requested a review from bergkvist April 28, 2026 17:12
tamirhemo and others added 5 commits April 28, 2026 22:00
Move the prove and execute pipelines into helper functions returning
anyhow::Result, with .context() at each stage (execute/setup/prove/verify).
The REPL prints the full error chain on failure and keeps the prover
client, caches, and history alive for the next command instead of
unwrap()-ing and exiting.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@tamirhemo tamirhemo merged commit 84c0f5b into main Apr 30, 2026
19 of 20 checks passed
@tamirhemo tamirhemo deleted the tamir/bench-script branch April 30, 2026 22:24
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.

1 participant