Skip to content

Commit b22333b

Browse files
authored
Merge pull request #2082 from Kobzol/benchmark-update-2025-diesel
Update diesel to 2.2.10
2 parents 4521679 + 075db44 commit b22333b

File tree

256 files changed

+58234
-4
lines changed

Some content is hidden

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

256 files changed

+58234
-4
lines changed

collector/compile-benchmarks/README.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,8 @@ They mostly consist of real-world crates.
2525
- **cranelift-codegen-0.82.1**: The largest crate from a code generator. Used by
2626
wasmtime. Stresses obligation processing.
2727
- **cranelift-codegen-0.119.0**: The largest crate from a code generator. Used by wasmtime. Stresses obligation processing.
28-
- **diesel-1.4.8**: A type safe SQL query builder. Utilizes the type system to
29-
ensure a lot of invariants. Stresses anything related to resolving
30-
trait bounds, by having a lot of trait impls for a large number of different
31-
types.
28+
- **diesel-1.4.8**: A type-safe SQL query builder. Utilizes the type system to ensure a lot of invariants. Stresses anything related to resolving trait bounds, by having a lot of trait impls for a large number of different types.
29+
- **diesel-2.2:10**: A type-safe SQL query builder. Utilizes the type system to ensure a lot of invariants. Stresses anything related to resolving trait bounds, by having a lot of trait impls for a large number of different types.
3230
- **exa-0.10.1**: An `ls` replacement. A widely-used utility, and a binary
3331
crate.
3432
- **helloworld**: A trivial program. Gives a lower bound on compile time.

collector/compile-benchmarks/REUSE.toml

+5
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ path = "diesel-1.4.8/**"
7272
SPDX-FileCopyrightText = "diesel contributors"
7373
SPDX-License-Identifier = "MIT OR Apache-2.0"
7474

75+
[[annotations]]
76+
path = "diesel-2.2.10/**"
77+
SPDX-FileCopyrightText = "diesel contributors"
78+
SPDX-License-Identifier = "MIT OR Apache-2.0"
79+
7580
[[annotations]]
7681
path = "encoding/**"
7782
SPDX-FileCopyrightText = "encoding contributors"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"git": {
3+
"sha1": "2a6752b2b91c55b9968b7b8e3df44d5ff7eca166"
4+
},
5+
"path_in_vcs": "diesel"
6+
}
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 8be915e7..6da19ecc 100644
3+
--- a/src/query_dsl/mod.rs
4+
+++ b/src/query_dsl/mod.rs
5+
@@ -119,6 +119,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)