Skip to content

Commit 4c136f0

Browse files
authored
Add builtin derive benchmarks (#791)
1 parent d7628d2 commit 4c136f0

File tree

4 files changed

+1214
-0
lines changed

4 files changed

+1214
-0
lines changed

collector/benchmarks/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,4 @@ programs.
110110
behavior](https://github.com/rust-lang/rust/issues/65510) (in the number of
111111
associated type bounds).
112112
- **externs**: A large amount of extern functions has caused [slowdowns in the past](https://github.com/rust-lang/rust/pull/78448).
113+
- **derive**: A large amount of simple structs with a `#[derive]` attribute for common built-in traits such as Copy and Debug.

collector/benchmarks/derive/Cargo.lock

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[package]
2+
name = "derive"
3+
version = "0.1.0"
4+
edition = "2018"
5+
6+
[dependencies]
7+
8+
[workspace]

0 commit comments

Comments
 (0)