Skip to content

Commit 531080d

Browse files
authored
Merge pull request #1626 from Kobzol/benchmark-info-dashboard
Propagate more compile benchmark metadata into the dashboard
2 parents 53e9d0e + 8e791d0 commit 531080d

File tree

81 files changed

+886
-427
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+886
-427
lines changed

Cargo.lock

Lines changed: 45 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

collector/compile-benchmarks/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,9 @@ Rust code being written today.
173173
anything we should be aware of when using this crate as a compile-time
174174
benchmark.
175175
- Look at [crates.io](https://crates.io) to find the latest (non-prerelease) version.
176-
- Download it with `collector download -c $CATEGORY crate $NAME $VERSION`.
177-
The `$CATEGORY` is probably `primary`.
176+
- Download it with `collector download -c $CATEGORY -a $ARTIFACT crate $NAME $VERSION`.
177+
The `$CATEGORY` is probably `primary`. `$ARTIFACT` is either `library` or `binary`, depending
178+
on what kind of artifact does the benchmark build.
178179
- It makes it easier for reviewers if you split things into two commits.
179180
- In the first commit, just add the code for the entire benchmark.
180181
- Do this by doing `git add` on the new directory.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"category": "secondary"
2+
"category": "secondary",
3+
"artifact": "library"
34
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"category": "primary"
2+
"category": "primary",
3+
"artifact": "library"
34
}

collector/compile-benchmarks/cargo-0.60.0/perf-config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"cargo_opts": "--lib",
33
"runs": 1,
44
"touch_file": "src/cargo/lib.rs",
5-
"category": "primary"
5+
"category": "primary",
6+
"artifact": "library"
67
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"category": "primary"
2+
"category": "primary",
3+
"artifact": "library"
34
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"category": "secondary"
2+
"category": "secondary",
3+
"artifact": "binary"
34
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"category": "primary"
2+
"category": "primary",
3+
"artifact": "library"
34
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"category": "secondary"
2+
"category": "secondary",
3+
"artifact": "library"
34
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"category": "secondary"
2+
"category": "secondary",
3+
"artifact": "binary"
34
}

0 commit comments

Comments
 (0)