mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-08 22:28:01 -05:00
WIP: Add more size to bench zk
This commit is contained in:
@@ -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]),
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user