Skip to content

Commit 5880650

Browse files
ecstatic-morseMark-Simulacrum
authored andcommitted
Add many-assoc-items benchmark
1 parent 35906db commit 5880650

File tree

4 files changed

+10014
-0
lines changed

4 files changed

+10014
-0
lines changed

collector/benchmarks/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ programs.
7979
performance](https://github.com/rust-lang/rust/issues/46449) in the past.
8080
- **issue-58319**: A small program that caused [poor
8181
performance](https://github.com/rust-lang/rust/issues/58319) in the past.
82+
- **many-assoc-items**: Contains a struct with many associated items, which
83+
caused [quadratic behavior](https://github.com/rust-lang/rust/issues/68957)
84+
in the past.
8285
- **regression-31157**: A small program that caused a [large performance
8386
regression](https://github.com/rust-lang/rust/issues/31157) from the past.
8487
- **token-stream-stress**: Constructs a long token stream much like the `quote`

collector/benchmarks/many-assoc-items/Cargo.lock

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[package]
2+
name = "many-assoc-items"
3+
version = "0.1.0"
4+
edition = "2018"
5+
6+
[workspace]

0 commit comments

Comments
 (0)