Skip to content

Commit 3e2ab0e

Browse files
Merge pull request #259 from nnethercote/document-repo-update
Document the slow clone updating at startup.
2 parents dcff003 + 583da45 commit 3e2ab0e

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

collector/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ Once the benchmarks have been run, start the website:
7575
```
7676
./target/release/site $RUSTC_TIMING # or $OUTPUT_DIR
7777
```
78-
and navigate to localhost:2346 in a web browser.
78+
and navigate to localhost:2346 in a web browser. The first time you do this the
79+
Rust repo is cloned, so it will take a minute or two (or more if you have a
80+
slow internet connection) before the web server starts up.
7981

8082
Note that all benchmark data processing happens when the website is started. If
8183
additional benchmark runs subsequently occur you must restart the website to

site/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,8 @@ It can be run with the following command:
4343
```
4444
cargo run --release data
4545
```
46+
47+
The first time you do this the Rust repo is cloned, so it will take a minute or
48+
two (or more if you have a slow internet connection) before the web server
49+
starts up.
50+

site/src/load.rs

+2
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,9 @@ impl InputData {
225225
}
226226

227227
let last_date = last_date.expect("No dates found");
228+
println!("Updating rust.git clone...");
228229
let commits = rust_sysroot::get_commits(rust_sysroot::EPOCH_COMMIT, "master").map_err(SyncFailure::new)?;
230+
println!("Update of rust.git complete");
229231

230232
Ok(InputData {
231233
crate_list: crate_list,

0 commit comments

Comments
 (0)