Skip to content

Commit a7f7b0e

Browse files
Merge pull request #1206 from nnethercote/demote-style-servo
Demote `style-servo` to only run in the "stable" set.
2 parents bc1f2fc + 16e35f3 commit a7f7b0e

File tree

20 files changed

+120
-127
lines changed

20 files changed

+120
-127
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ jobs:
6464
strategy:
6565
matrix:
6666
BENCH_INCLUDE_EXCLUDE_OPTS: [
67-
"--exclude webrender-wrench,style-servo,cargo",
68-
"--include webrender-wrench,style-servo,cargo",
67+
"--exclude webrender-wrench,cargo",
68+
"--include webrender-wrench,cargo",
6969
]
7070
PROFILES: [
7171
"Check,Doc,Debug",

collector/benchmarks/README.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ The suite changes over time. Sometimes the code for a benchmark is updated, in
77
which case a small suffix will be added (starting with "-2", then "-3", and so
88
on.)
99

10-
There are two categories of benchmarks, **Primary** and **Secondary**.
10+
There are three categories of benchmarks, **Primary**, **Secondary**, and
11+
**Stable**.
1112

1213
## Primary
1314

@@ -38,8 +39,6 @@ They mostly consist of real-world crates.
3839
- **serde**: A serialization/deserialization crate. Used by many other
3940
Rust programs.
4041
- **stm32f4**: A crate that has many thousands of blanket impl blocks.
41-
- **style-servo**: Servo's `style` crate. A large crate, and one used by
42-
Firefox.
4342
- **syn**: A library for parsing Rust code. An important part of the Rust
4443
ecosystem.
4544
- **tokio-webpush-simple**: A simple web server built with tokio. Uses futures
@@ -125,3 +124,22 @@ compiler in interesting ways.
125124
- **wg-grammar**: A parser generator.
126125
[Stresses](https://github.com/rust-lang/rust/issues/58178) the borrow
127126
checker's implementation of NLL.
127+
128+
**Stable**
129+
130+
These are benchmarks used in the
131+
[dashboard](https://perf.rust-lang.org/dashboard.html). They provide the
132+
longest continuous data set for compiler performance. As a result, they are
133+
quite old (e.g. 2017 or earlier), and not necessarily reflective of typical
134+
Rust code being written today.
135+
136+
- **encoding**: See above.
137+
- **futures**: See above.
138+
- **html5ever**: See above.
139+
- **inflate**: See above.
140+
- **regex**: See above.
141+
- **piston-image**: See above.
142+
- **style-servo**: An old version of Servo's `style` crate. A large crate, and
143+
one used by old versions of Firefox.
144+
- **syn**: See above.
145+
- **tokio-webpush-simple**: See above.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"supports_stable": true,
32
"touch_file": "src/lib.rs",
4-
"category": "primary"
3+
"category": "primary-and-stable"
54
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
{
2-
"supports_stable": true,
3-
"category": "primary"
2+
"category": "primary-and-stable"
43
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"supports_stable": true,
32
"touch_file": "src/lib.rs",
4-
"category": "primary"
3+
"category": "primary-and-stable"
54
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
{
2-
"supports_stable": true,
3-
"category": "primary"
2+
"category": "primary-and-stable"
43
}
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"supports_stable": false,
32
"touch_file": "src/lib.rs",
43
"category": "secondary"
54
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"supports_stable": true,
32
"runs": 1,
4-
"category": "primary"
3+
"category": "primary-and-stable"
54
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"supports_stable": true,
32
"touch_file": "src/lib.rs",
4-
"category": "primary"
3+
"category": "primary-and-stable"
54
}

collector/benchmarks/style-servo/perf-config.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"cargo_rustc_opts": "--cap-lints=warn",
44
"cargo_toml": "components/style/Cargo.toml",
55
"runs": 1,
6-
"supports_stable": true,
76
"touch_file": "components/style/lib.rs",
8-
"category": "primary"
7+
"category": "stable"
98
}

0 commit comments

Comments
 (0)