Searched refs:stats (Results 1 – 15 of 15) sorted by relevance
/curl/tests/http/ |
H A D | test_06_eyeballs.py | 52 assert r.stats[0]['http_version'] == '3' 71 assert r.stats[0]['http_version'] == '2' 81 assert r.stats[0]['http_version'] == '1.1' 89 assert r.stats[0]['time_connect'] > 0.0 90 assert r.stats[0]['time_appconnect'] > 0.0 100 assert r.stats[0]['time_connect'] > 0.0 # was tcp connected 101 assert r.stats[0]['time_appconnect'] == 0 # but not SSL verified 111 assert r.stats[0]['time_connect'] == 0 # no one should have listened 112 assert r.stats[0]['time_appconnect'] == 0 # did not happen either
|
H A D | test_04_stuttered.py | 81 t_avg, i_min, t_min, i_max, t_max = self.stats_spread(r.stats[warmups:], 'time_total') 103 t_avg, i_min, t_min, i_max, t_max = self.stats_spread(r.stats[warmups:], 'time_total') 125 t_avg, i_min, t_min, i_max, t_max = self.stats_spread(r.stats[warmups:], 'time_total') 129 def stats_spread(self, stats: List[Dict], key: str) -> Tuple[float, int, float, int, float]: 135 for idx, s in enumerate(stats): 144 return stotals/len(stats), i_min, s_min, i_max, s_max
|
H A D | test_05_errors.py | 65 for idx, s in enumerate(r.stats): 87 assert len(r.stats) == count, f'did not get all stats: {r}' 89 for idx, s in enumerate(r.stats): 108 assert r.stats[0]['http_version'] == '1.1', r.dump_logs()
|
H A D | test_03_goaway.py | 73 for idx, s in enumerate(r.stats): 110 for idx, s in enumerate(r.stats): 141 for idx, s in enumerate(r.stats):
|
H A D | test_16_info.py | 65 for idx, s in enumerate(r.stats): 82 for idx, s in enumerate(r.stats): 102 for idx, s in enumerate(r.stats): 114 for idx, s in enumerate(r.stats):
|
H A D | test_12_reuse.py | 100 for s in r.stats: 122 for s in r.stats: 146 for s in r.stats:
|
H A D | scorecard.py | 91 if r.exit_code == 0 and len(r.stats) == 1: 92 c_samples.append(r.stats[0]['time_connect']) 93 hs_samples.append(r.stats[0]['time_appconnect']) 128 if r.exit_code != 0 or len(r.stats) != count: 130 fails = [s for s in r.stats if s['response_code'] != 200] 252 if r.exit_code != 0 or len(r.stats) != count: 254 fails = [s for s in r.stats if s['response_code'] != 200] 277 total_size = sum([s['size_upload'] for s in r.stats]) 305 total_size = sum([s['size_upload'] for s in r.stats]) 595 stats = size_score[m]["stats"] [all …]
|
H A D | test_01_basic.py | 100 assert r.stats[0]['time_connect'] > 0, f'{r.stats[0]}' 101 assert r.stats[0]['time_appconnect'] > 0, f'{r.stats[0]}' 118 assert r.stats[0]['size_download'] == 0, f'{r.stats[0]}'
|
H A D | test_19_shutdown.py | 66 assert len(r.tcpdump.stats) != 0, f'Expected TCP RSTs packets: {r.tcpdump.stderr}' 84 assert len(r.tcpdump.stats) == 0, 'Unexpected TCP RSTs packets'
|
H A D | test_30_vsftpd.py | 149 assert len(r.tcpdump.stats) == 0, 'Unexpected TCP RSTs packets' 164 assert len(r.tcpdump.stats) == 0, 'Unexpected TCP RSTs packets'
|
H A D | test_07_upload.py | 408 assert r.stats[0]['http_version'] == '1.1', f'{r}' 625 up_speed = r.stats[0]['speed_upload'] 643 up_speed = r.stats[0]['speed_upload']
|
/curl/tests/unit/ |
H A D | unit2600.c | 119 struct ai_family_stats *stats; member 210 ctx->stats = ¤t_tr->cf6; in cf_test_create() 212 curl_msprintf(ctx->id, "v6-%d", ctx->stats->creations); in cf_test_create() 213 ctx->stats->creations++; in cf_test_create() 218 ctx->stats = ¤t_tr->cf4; in cf_test_create() 220 curl_msprintf(ctx->id, "v4-%d", ctx->stats->creations); in cf_test_create() 221 ctx->stats->creations++; in cf_test_create() 225 if(ctx->stats->creations == 1) in cf_test_create() 226 ctx->stats->first_created = created_at; in cf_test_create() 227 ctx->stats->last_created = created_at; in cf_test_create()
|
/curl/tests/http/testenv/ |
H A D | curl.py | 56 stats = [p.stats for p in profiles] 58 vals = [s[key] for s in stats] 76 def stats(self) -> Optional[Dict[str,Any]]: member in RunProfile 121 def stats(self) -> Optional[List[str]]: member in RunTcpDump 132 for line in self.stats 294 def stats(self) -> List: member in ExecResult 299 if len(self.stats): 301 for stat in self.stats: 344 assert len(self.stats) == count, \ 394 assert len(self.stats) == count, \ [all …]
|
/curl/ |
H A D | .gitignore | 28 /stats/
|
/curl/docs/ |
H A D | KNOWN_BUGS | 196 -T stats the path to figure out its size in bytes to use it as Content-Length
|
Completed in 40 milliseconds