File tree Expand file tree Collapse file tree
test-suite/gateway-stress Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,14 +37,14 @@ parallel_requests = 5
3737# ENV: USER_CT_HANDLES (format: comma separated list)
3838# Example: USER_CT_HANDLES="0x408a1510fb9ebf45651a6b0d40ce34c52a4bfc6338ff00000000000030390500,0x408a1510fb9ebf45651a6b0d40ce34c52a4bfc6338ff00000000000030390500"
3939user_ct_handles = [
40- " 0x2a879e617c9a25d91bcb828b4631c61e8abcd51743ff00000000000030390500 " ,
40+ " 0x7e314aadb1fe25d0eedc986529cf05604b71b717fdff00000000000030390500 " ,
4141]
4242
4343# The handles used for public decryptions
4444# ENV: PUBLIC_CT_HANDLES (format: comma separated list)
4545# Example: PUBLIC_CT_HANDLES="0xbbb647e5a8dba46ed6f2eff8aed91d96ce9a80f537ff00000000000030390500,0xbbb647e5a8dba46ed6f2eff8aed91d96ce9a80f537ff00000000000030390500"
4646public_ct_handles = [
47- " 0x4cecf31bbca4baf834c96d7ae6a07279b50e0716e0ff00000000000030390500 " ,
47+ " 0xcc0fe2694c954beeea00716b20dbff2f4aa3756afbff00000000000030390500 " ,
4848]
4949
5050# The contract allowed for user decrytion on ct_handles
Original file line number Diff line number Diff line change @@ -309,14 +309,16 @@ impl App {
309309 )
310310 . await
311311 }
312- } ?;
313-
314- results. push ( BenchBurstResult :: new (
315- * burst_index,
316- bench_record. parallel_requests ,
317- bench_record. decryption_type ,
318- burst_result,
319- ) ) ;
312+ } ;
313+
314+ if let Ok ( burst_result) = burst_result {
315+ results. push ( BenchBurstResult :: new (
316+ * burst_index,
317+ bench_record. parallel_requests ,
318+ bench_record. decryption_type ,
319+ burst_result,
320+ ) ) ;
321+ }
320322 * burst_index += 1 ;
321323 }
322324
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ impl BenchAverageResult {
3737
3838 Self {
3939 parallel_requests : input. parallel_requests ,
40- number_of_measures : input . number_of_measures ,
40+ number_of_measures : results . len ( ) ,
4141 decryption_type : input. decryption_type ,
4242 average_latency,
4343 average_throughput,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ parallel_requests;number_of_measures;decryption_type
6620;50;public
7750;50;public
88100;50;public
9- 200;50 ;public
9+ 200;10 ;public
10101;50;user
11112;50;user
12125;50;user
You can’t perform that action at this time.
0 commit comments