WIP: Add more size to bench zk

This commit is contained in:
David Testé
2025-12-08 11:59:37 +01:00
parent 100b4200c2
commit d3cb23a3f4
2 changed files with 7 additions and 7 deletions

View File

@@ -33,9 +33,9 @@ impl ProofConfig {
fn default_proof_config() -> Vec<ProofConfig> {
vec![
ProofConfig::new(64usize, &[64usize]),
ProofConfig::new(2048, &[4 * 64, 10 * 64, 2048]),
ProofConfig::new(4096, &[4096]),
// ProofConfig::new(64usize, &[64usize]),
ProofConfig::new(2048, &[64usize, 4 * 64, 10 * 64, 2048]),
// ProofConfig::new(4096, &[4096]),
]
}

View File

@@ -694,10 +694,10 @@ async function compactPublicKeyZeroKnowledgeBench() {
// Proof configuration:
let proof_configs = [
{ crs_bit_size: 64, bits_to_encrypt: [64] },
{ crs_bit_size: 640, bits_to_encrypt: [640] },
{ crs_bit_size: 2048, bits_to_encrypt: [2048, 64 * 4] }, // 64 * 4 is a production use-case
{ crs_bit_size: 4096, bits_to_encrypt: [4096] },
// { crs_bit_size: 64, bits_to_encrypt: [64] },
// { crs_bit_size: 640, bits_to_encrypt: [640] },
{ crs_bit_size: 2048, bits_to_encrypt: [2048, 64 * 10, 64 * 4, 64] }, // 64 * 4 is a production use-case
// { crs_bit_size: 4096, bits_to_encrypt: [4096] },
];
for (const proof_config of proof_configs) {