Skip to content

Commit c3c80e1

Browse files
committed
Add patches and fix up references
1 parent a8a62ca commit c3c80e1

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed

collector/benchmarks/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ They mostly consist of real-world crates.
3737
- **piston-image**: A modular game engine. An interesting Rust program.
3838
- **regex-1.5.5**: A regular expression parser. Used by many Rust programs.
3939
- **ripgrep-13.0.0**: A line-oriented search tool. A widely-used utility.
40-
- **serde**: A serialization/deserialization crate. Used by many other
40+
- **serde-1.0.136**: A serialization/deserialization crate. Used by many other
4141
Rust programs.
4242
- **stm32f4**: A crate that has many thousands of blanket impl blocks.
4343
- **syn**: A library for parsing Rust code. An important part of the Rust
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/src/de/utf8.rs b/src/de/utf8.rs
2+
index 576fd03c..a825007a 100644
3+
--- a/src/de/utf8.rs
4+
+++ b/src/de/utf8.rs
5+
@@ -41,6 +41,7 @@ pub struct Encode {
6+
7+
impl Encode {
8+
pub fn as_str(&self) -> &str {
9+
+ println!();
10+
str::from_utf8(&self.buf[self.pos..]).unwrap()
11+
}
12+
}

collector/benchmarks/serde-1.0.136/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,5 @@ derive = ["serde_derive"]
4242
rc = []
4343
std = []
4444
unstable = []
45+
46+
[workspace]

docs/glossary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The following is a glossary of domain specific terminology. Although benchmarks
1414
## Benchmarks
1515

1616
* **stress test benchmark**: a benchmark that is specifically designed to stress a certain part of the compiler. For example, [projection-caching](https://github.com/rust-lang/rustc-perf/tree/master/collector/benchmarks/projection-caching) stresses the compiler's projection caching mechanisms.
17-
* **real world benchmark**: a benchmark based on a real world crate. These are typically copied as-is from crates.io. For example, [serde](https://github.com/rust-lang/rustc-perf/tree/master/collector/benchmarks/serde) is a popular crate and the benchmark has not been altered from a release of serde on crates.io.
17+
* **real world benchmark**: a benchmark based on a real world crate. These are typically copied as-is from crates.io. For example, [serde](https://github.com/rust-lang/rustc-perf/tree/master/collector/benchmarks/serde-1.0.136) is a popular crate and the benchmark has not been altered from a release of serde on crates.io.
1818

1919
## Artifacts
2020

0 commit comments

Comments
 (0)