Compare commits

...

7 Commits

Author SHA1 Message Date
Josh Matthews
36465f1669 More processes! 2018-12-21 13:24:56 -05:00
Josh Matthews
85f2d1ec6d Add hyper logging. 2018-12-21 12:15:11 -05:00
Josh Matthews
ee0de010ae Disable some HTTP logging. 2018-12-21 09:40:42 -05:00
Josh Matthews
65d9eb6fa6 Moar chunks! 2018-12-20 14:11:26 -05:00
Josh Matthews
39304df989 Add HTTP request logging. 2018-12-20 08:58:41 -05:00
Josh Matthews
1ef7cf1327 Debug logging 2018-12-19 20:59:11 -05:00
Josh Matthews
5daf0d08fb More WPT chunks, fewer processes 2018-12-19 14:18:06 -05:00
5 changed files with 18 additions and 10 deletions

View File

@@ -1195,6 +1195,13 @@ fn http_network_fetch(
.as_ref()
.map(|_| uuid::Uuid::new_v4().to_simple().to_string());
//if log_enabled!(log::Level::Info) {
info!("request for {} ({:?})", url, request.method);
/*for header in request.headers.iter() {
info!(" - {:?}", header);
}*/
//}
// XHR uses the default destination; other kinds of fetches (which haven't been implemented yet)
// do not. Once we support other kinds of fetches we'll need to be more fine grained here
// since things like image fetches are classified differently by devtools
@@ -1219,12 +1226,12 @@ fn http_network_fetch(
Err(error) => return Response::network_error(error),
};
if log_enabled!(log::Level::Info) {
//if log_enabled!(log::Level::Info) {
info!("response for {}", url);
for header in res.headers().iter() {
/*for header in res.headers().iter() {
info!(" - {:?}", header);
}
}
}*/
//}
let timing = &*context.timing.lock().unwrap();
let mut response = Response::new(url.clone(), timing.clone());

View File

@@ -342,7 +342,7 @@ def linux_wpt():
def linux_run_task(name):
return linux_task(name).with_dockerfile(dockerfile_path("run"))
wpt_chunks("Linux x64", linux_run_task, release_build_task, repo_dir="/repo",
total_chunks=2, processes=24)
total_chunks=10, processes=8)
def macos_wpt():
@@ -384,6 +384,7 @@ def wpt_chunks(platform, make_chunk_task, build_task, total_chunks, processes,
TOTAL_CHUNKS=str(total_chunks),
THIS_CHUNK=str(this_chunk),
PROCESSES=str(processes),
RUST_LOG="net::http_loader,hyper"
)
)
if this_chunk == chunks[-1]:

View File

@@ -1,5 +1,5 @@
[generic.http.html]
expected: TIMEOUT
sexpected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via a-tag using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
expected: NOTRUN
sexpected: NOTRUN

View File

@@ -1 +1 @@
disabled: https://github.com/servo/servo/issues/13503
sdisabled: https://github.com/servo/servo/issues/13503

View File

@@ -1,6 +1,6 @@
[generic.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
sexpected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN
sexpected: NOTRUN