Open MatheusFranco99 opened 9 months ago
Benchmark tests to:
It includes performance tests for:
Example of output:
> go test -bench=. Total duty (1 rounds): 34151 us. Total duty (2 rounds): 99156 us. Total duty (3 rounds): 163420 us. Total duty (4 rounds): 230917 us. Total duty (5 rounds): 294369 us. Total duty (6 rounds): 375205 us. Consensus round 1 time: [1 1 1 1 1 1 1 2 2] ms. Total: 13695 us Consensus round 2 time: [4 9 22 19 1 1 1 1 1 1 1 2] ms. Total: 67681 us Consensus round 3 time: [4 9 22 19 1 1 1 1 1 1 1 1] ms. Total: 66318 us Consensus round 1 msg type 0 time: 1601 us. Consensus round 1 msg type 1 time: 1159 us. Consensus round 1 msg type 2 time: 1111 us. Consensus round 2 msg type 3 time: 4631 us. Consensus round 2 msg type 0 time: 19151 us. Consensus round 2 msg type 1 time: 1108 us. Consensus round 2 msg type 2 time: 1148 us. Consensus round 3 msg type 3 time: 4500 us. Consensus round 3 msg type 0 time: 18945 us. Consensus round 3 msg type 1 time: 1190 us. Consensus round 3 msg type 2 time: 1228 us. Consensus round 2 msg type 3 occurrence 1 time: 4866 us. Consensus round 2 msg type 3 occurrence 2 time: 9500 us. Consensus round 2 msg type 3 occurrence 3 time: 22230 us. Consensus round 3 msg type 3 occurrence 1 time: 4697 us. Consensus round 3 msg type 3 occurrence 2 time: 9354 us. Consensus round 3 msg type 3 occurrence 3 time: 22467 us. Single partial message time: 2319 us. Pre-consensus full committee: 11210 us. Post-consensus: 8484 us. BLS Signing time: 526.67 ± 38.42 us. BLS Verification time: 1151.33 ± 2.05 us. Reconstruct + Verify signature: 1563 us. Reconstruct (from the above diff): 411.67 us. Aggregate 3 signatures: 566 us. PASS ok
Overview
Benchmark tests to:
It includes performance tests for:
Example of output: