Skip to content

Commit 12a8dbb

Browse files
committed
Add benchmark files and update documentation
1 parent 4ad6c26 commit 12a8dbb

File tree

4 files changed

+22
-0
lines changed

4 files changed

+22
-0
lines changed

collector/compile-benchmarks/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ They mostly consist of real-world crates.
2626
Rust programs.
2727
- **cranelift-codegen-0.82.1**: The largest crate from a code generator. Used by
2828
wasmtime. Stresses obligation processing.
29+
- **cranelift-codegen-0.119.0**: The largest crate from a code generator. Used by wasmtime. Stresses obligation processing.
2930
- **diesel-1.4.8**: A type safe SQL query builder. Utilizes the type system to
3031
ensure a lot of invariants. Stresses anything related to resolving
3132
trait bounds, by having a lot of trait impls for a large number of different

collector/compile-benchmarks/REUSE.toml

+5
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ path = "cranelift-codegen-0.82.1/**"
4747
SPDX-FileCopyrightText = "The Cranelift Project Developers"
4848
SPDX-License-Identifier = "Apache-2.0 WITH LLVM-exception"
4949

50+
[[annotations]]
51+
path = "cranelift-codegen-0.119.0/**"
52+
SPDX-FileCopyrightText = "The Cranelift Project Developers"
53+
SPDX-License-Identifier = "Apache-2.0 WITH LLVM-exception"
54+
5055
[[annotations]]
5156
path = "ctfe-stress-5/**"
5257
SPDX-FileCopyrightText = "The Rust Project Developers (see https://thanks.rust-lang.org)"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/src/loop_analysis.rs b/src/loop_analysis.rs
2+
index 71f84565..e8e2dcc6 100644
3+
--- a/src/loop_analysis.rs
4+
+++ b/src/loop_analysis.rs
5+
@@ -230,6 +230,7 @@ impl LoopAnalysis {
6+
domtree: &DominatorTree,
7+
layout: &Layout,
8+
) {
9+
+ println!("testing");
10+
let mut stack: Vec<Block> = Vec::new();
11+
// We handle each loop header in reverse order, corresponding to a pseudo postorder
12+
// traversal of the graph.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"artifact": "library",
3+
"category": "primary"
4+
}

0 commit comments

Comments
 (0)