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
}
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": "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
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"touch_file": "src/lib.rs",
3-
"category": "stable"
3+
"category": "stable",
4+
"artifact": "library"
45
}
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": "binary"
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": "stable"
2+
"category": "stable",
3+
"artifact": "library"
34
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"category": "secondary",
33
"excluded_profiles": ["Doc", "Check", "Debug"],
4-
"excluded_scenarios": ["IncrFull", "IncrPatched", "IncrUnchanged"]
4+
"excluded_scenarios": ["IncrFull", "IncrPatched", "IncrUnchanged"],
5+
"artifact": "binary"
56
}
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": "binary"
34
}
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2-
"touch_file": "src/lib.rs",
3-
"category": "primary"
2+
"touch_file": "src/lib.rs",
3+
"category": "primary",
4+
"artifact": "library"
45
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"touch_file": "src/lib.rs",
3-
"category": "stable"
3+
"category": "stable",
4+
"artifact": "library"
45
}
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2-
"cargo_opts": "--features=client,http1,http2,server,stream",
3-
"category": "primary"
2+
"cargo_opts": "--features=client,http1,http2,server,stream",
3+
"category": "primary",
4+
"artifact": "library"
45
}
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"runs": 1,
3-
"category": "primary"
4-
}
3+
"category": "primary",
4+
"artifact": "library"
5+
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"category": "stable"
2+
"category": "stable",
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
}

collector/compile-benchmarks/issue-58319/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ name = "issue-58319"
33
version = "0.1.0"
44
edition = "2018"
55

6+
[workspace]
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
}

collector/compile-benchmarks/issue-88862/Cargo.lock

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

collector/compile-benchmarks/issue-88862/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ name = "issue-88862"
33
version = "0.1.0"
44
edition = "2018"
55

6+
[workspace]
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,4 +1,5 @@
11
{
22
"touch_file": "src/lib.rs",
3-
"category": "secondary"
3+
"category": "secondary",
4+
"artifact": "library"
45
}

0 commit comments

Comments
 (0)