mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-26 08:01:06 +00:00
e60982c851
This measured how long the Helper took to do a filecheck before asking for ciphertext. The "Contacting Helper" report includes both existence_check and the client-helper RTT. For non-overlapping uploads, it was being returned correctly. But when multiple upload requests overlapped, and the file was not already in the grid, the filecheck would only run once, and its existence_check time would be reported for all uploaders (even if they didn't have to wait for that time). Cleaning that up proved too difficult: the only correct place to report this time is from the initial remote_upload_chk() call, but the return value of that is too constrained to accomodate it in the needs-upload case. So I'm removing it altogether. Eventually I plan to add a proper events/times field and record more data, including this check, in a form that can be drawn on a nice zoomable timeline view. Old clients talking to a new Helper (which doesn't supply the value) will tolerate the loss (they'll just display an empty field on the web view).
49 lines
2.1 KiB
HTML
49 lines
2.1 KiB
HTML
<html xmlns:n="http://nevow.com/ns/nevow/0.1">
|
|
<head>
|
|
<title>Tahoe-LAFS - File Uploaded</title>
|
|
<link href="/tahoe.css" rel="stylesheet" type="text/css"/>
|
|
<link href="/icon.png" rel="shortcut icon" />
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
</head>
|
|
<body>
|
|
|
|
<h1>Uploading File... <span n:render="string" n:data="done" /></h1>
|
|
|
|
<h2>Upload Results:</h2>
|
|
<ul>
|
|
<li>URI: <tt><span n:render="string" n:data="uri" /></tt></li>
|
|
<li>Download link: <span n:render="download_link" /></li>
|
|
<li>Sharemap: <span n:render="sharemap" /></li>
|
|
<li>Servermap: <span n:render="servermap" /></li>
|
|
<li>Timings:</li>
|
|
<ul>
|
|
<li>File Size: <span n:render="string" n:data="file_size" /> bytes</li>
|
|
<li>Total: <span n:render="time" n:data="time_total" />
|
|
(<span n:render="rate" n:data="rate_total" />)</li>
|
|
<ul>
|
|
<li>Storage Index: <span n:render="time" n:data="time_storage_index" />
|
|
(<span n:render="rate" n:data="rate_storage_index" />)</li>
|
|
<li>[Contacting Helper]: <span n:render="time" n:data="time_contacting_helper" /></li>
|
|
<li>[Upload Ciphertext To Helper]: <span n:render="time" n:data="time_cumulative_fetch" />
|
|
(<span n:render="rate" n:data="rate_ciphertext_fetch" />)</li>
|
|
|
|
<li>Peer Selection: <span n:render="time" n:data="time_peer_selection" /></li>
|
|
<li>Encode And Push: <span n:render="time" n:data="time_total_encode_and_push" />
|
|
(<span n:render="rate" n:data="rate_encode_and_push" />)</li>
|
|
<ul>
|
|
<li>Cumulative Encoding: <span n:render="time" n:data="time_cumulative_encoding" />
|
|
(<span n:render="rate" n:data="rate_encode" />)</li>
|
|
<li>Cumulative Pushing: <span n:render="time" n:data="time_cumulative_sending" />
|
|
(<span n:render="rate" n:data="rate_push" />)</li>
|
|
<li>Send Hashes And Close: <span n:render="time" n:data="time_hashes_and_close" /></li>
|
|
</ul>
|
|
<li>[Helper Total]: <span n:render="time" n:data="time_helper_total" /></li>
|
|
</ul>
|
|
</ul>
|
|
</ul>
|
|
|
|
<div>Return to the <a href="/">Welcome Page</a></div>
|
|
|
|
</body>
|
|
</html>
|