Skip to content

Commit b5b4916

Browse files
committed
Extra stuff for webrender-2022.
Here's the overall time to `full` compile everything, webrender vs webrender-2022: ``` old new - check 15.8s 21.9s - debug 19.5s 28.4s - opt 25.0s 38.9s ``` Roughly 1.5x longer. And here's the time to `full` compile just the final crate: ``` old new - check 1.74s 4.28s - debug 4.70s 9.92s - opt 9.58s 19.14s ``` Roughly 2x longer.
1 parent f68a3a9 commit b5b4916

File tree

4 files changed

+623
-610
lines changed

4 files changed

+623
-610
lines changed

collector/benchmarks/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ They mostly consist of real-world crates.
4949
utilities. Uses huge `match` statements that stress the compiler in unusual
5050
ways.
5151
- **webrender**: A web renderer. Used by Firefox and Servo.
52+
- **webrender-2022**: A web renderer. A large, complex crate used by Firefox
53+
and Servo. Webrender isn't released regularly so this is a development
54+
version (revision 78502fd). The `-2022` suffix distinguishes it from earlier
55+
Webrender versions that used to be used in this benchmark suite.
5256
- **webrender-wrench**: WebRender's test bench. An executable pulling in large
5357
dependencies.
5458

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/webrender/src/scene.rs b/webrender/src/scene.rs
2+
index 864ed683..08ec78dc 100644
3+
--- a/webrender/src/scene.rs
4+
+++ b/webrender/src/scene.rs
5+
@@ -34,6 +34,7 @@ pub struct SceneProperties {
6+
7+
impl SceneProperties {
8+
pub fn new() -> Self {
9+
+ println!("testing");
10+
SceneProperties {
11+
transform_properties: FastHashMap::default(),
12+
float_properties: FastHashMap::default(),
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
{
2-
"category": "primary"
2+
"cargo_toml": "webrender/Cargo.toml",
3+
"runs": 1,
4+
"touch_file": "webrender/src/lib.rs",
5+
"category": "primary"
36
}

0 commit comments

Comments
 (0)