Skip to content

Commit 52a10d4

Browse files
Merge pull request #894 from rylev/update-readmes
Update slightly out of date readmes
2 parents 48578bc + 19e1b76 commit 52a10d4

File tree

2 files changed

+11
-16
lines changed

2 files changed

+11
-16
lines changed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
# Rust Compiler Performance Monitoring & Benchmarking
22

3-
This repository contains two primary crates: `collector` and `site`. Collector gathers data for each
4-
bors commit and the site displays the data and provides a GitHub bot for on-demand benchmarking.
5-
6-
The primary required setup is to provide a folder with a `retries` file and a `times` folder. Data
7-
is gathered into https://github.com/rust-lang/rustc-timing by Rust Infrastructure; cloning
8-
that is the best approach for working on the frontend.
3+
This repository contains two primary crates:
4+
* [`collector`](./collector): gathers data for each bors commit
5+
* [`site`](./site): [displays](https://perf.rust-lang.org) the data and provides a GitHub bot for on-demand benchmarking
96

107
Additional documentation on running and setting up the frontend and backend can
118
be found in the `README` files in the `collector` and `site` directories.

site/README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,31 @@
1-
rustc-perf
2-
----------
1+
# rustc-perf Site
32

43
This is the website for Rust compiler performance monitoring. The website
54
contains a backend to process the raw data and expose it to the frontend,
65
which displays graphs to the user.
76

87
This also contains a GitHub bot to trigger on-demand benchmarking.
98

10-
Setup
11-
-----
9+
## Setup
1210

1311
The site launches on port 2346 by default, which can be overridden by setting
1412
the `PORT` environment variable.
1513

1614
```
17-
sudo apt-get install git
1815
git clone https://github.com/rust-lang/rustc-perf.git
1916
```
2017

21-
Launching
22-
---------
18+
## Launching
2319

24-
If you've collected data locally, you will likely want to point the site at that
25-
local database.
20+
If you've collected data locally, you will likely want to point the site at a
21+
local database. By default, a database called results.db located at the root of
22+
the project will be used. You can optionally pass a path to a database
23+
if you don't want to use the default.
2624

2725
```
2826
cargo run --bin site --release <database>
2927
```
3028

31-
The release flag is on purpose, reducing startup time 15x from roughly 15
29+
The `--release` flag is on purpose, reducing startup time 15x from roughly 15
3230
seconds to 1; this is on the production database and smaller data sets are
3331
likely to load considerably faster.

0 commit comments

Comments
 (0)