Skip to content

Commit 680d1d9

Browse files
authored
Merge pull request #1238 from lqd/update-diesel-benchmark
add `diesel-1.4.8` benchmark
2 parents 7fce226 + 5177def commit 680d1d9

File tree

200 files changed

+38088
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

200 files changed

+38088
-0
lines changed

collector/benchmarks/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ They mostly consist of real-world crates.
2727
ensure a lot of invariants. Stresses anything related to resolving
2828
trait bounds, by having a lot of trait impls for a large number of different
2929
types.
30+
- **diesel-1.4.8**: A type safe SQL query builder. Utilizes the type system to
31+
ensure a lot of invariants. Stresses anything related to resolving
32+
trait bounds, by having a lot of trait impls for a large number of different
33+
types.
3034
- **helloworld**: A trivial program. Gives a lower bound on compile time.
3135
- **html5ever**: An HTML parser. Stresses macro parsing code significantly.
3236
- **hyper-2**: A fairly large crate. Utilizes async/await, and used by
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"git": {
3+
"sha1": "09f8bcd78e3fb634ed69c66f46695b821a5b3822"
4+
}
5+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/src/query_dsl/mod.rs b/src/query_dsl/mod.rs
2+
index 68c1cf74..1dcd513d 100644
3+
--- a/src/query_dsl/mod.rs
4+
+++ b/src/query_dsl/mod.rs
5+
@@ -112,6 +112,7 @@ pub trait QueryDsl: Sized {
6+
where
7+
Self: methods::DistinctDsl,
8+
{
9+
+ println!("testing");
10+
methods::DistinctDsl::distinct(self)
11+
}
12+

0 commit comments

Comments
 (0)