Skip to content

Commit c6b122d

Browse files
committed
Add benchmarking infrastructure for bitmaps-3.1.0.
1 parent ac62531 commit c6b122d

File tree

5 files changed

+332
-1
lines changed

5 files changed

+332
-1
lines changed

collector/benchmarks/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ There are three categories of benchmarks, **Primary**, **Secondary**, and
1515
These are real programs that are important in some way, and worth tracking.
1616
They mostly consist of real-world crates.
1717

18+
- **bitmaps-3.1.0**: A bitmaps implementation. Stresses code handling traits.
1819
- **cargo-0.60.0**: The Rust package manager. A large program, and an important
1920
one in the Rust ecosystem.
2021
- **clap-3.1.6**: A command line argument parser. A crate used by many Rust
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
/target
22
**/*.rs.bk
3-
Cargo.lock
3+
#Cargo.lock
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/src/bitmap.rs b/src/bitmap.rs
2+
index ba5d1b18..9542a890 100644
3+
--- a/src/bitmap.rs
4+
+++ b/src/bitmap.rs
5+
@@ -27,6 +27,7 @@ where
6+
BitsImpl<{ SIZE }>: Bits,
7+
{
8+
fn clone(&self) -> Self {
9+
+ println!("testing");
10+
Bitmap::from_value(self.data)
11+
}
12+
}

collector/benchmarks/bitmaps-3.1.0/Cargo.lock

+316
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

collector/benchmarks/bitmaps-3.1.0/Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,5 @@ version = "0.3.0"
3131
[features]
3232
default = ["std"]
3333
std = []
34+
35+
[workspace]

0 commit comments

Comments
 (0)