@@ -223,19 +223,20 @@ db.Find(&Book{})
223
223
- goos: linux
224
224
- goarch: amd64
225
225
- pkg: github.com/bartventer/gorm-multitenancy/v6/drivers/postgres/schema
226
- - cpu: Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
226
+ - cpu: AMD EPYC 7763 64-Core Processor
227
+ - environment: VSCode Codespaces 16GB RAM
227
228
- date: 2024-05-12
228
229
229
230
| Benchmark | ns/op | B/op | allocs/op |
230
231
| -----------| -------| ------| -----------|
231
- | BenchmarkScopingQueries/Create/WithTenantSchema-4 | 52052621 | 16382 | 207 |
232
- | BenchmarkScopingQueries/Create/SetSearchPath-4 | 156505 | 1672 | 25 |
233
- | BenchmarkScopingQueries/Find/WithTenantSchema-4 | 161192 | 4917 | 86 |
234
- | BenchmarkScopingQueries/Find/SetSearchPath-4 | 328485 | 6375 | 102 |
235
- | BenchmarkScopingQueries/Update/WithTenantSchema-4 | 42719279 | 13418 | 203 |
236
- | BenchmarkScopingQueries/Update/SetSearchPath-4 | 341492 | 6392 | 104 |
237
- | BenchmarkScopingQueries/Delete/WithTenantSchema-4 | 40143705 | 10822 | 178 |
238
- | BenchmarkScopingQueries/Delete/SetSearchPath-4 | 44092282 | 12146 | 187 |
232
+ | BenchmarkScopingQueries/Create/WithTenantSchema-4 | 7587430 | 16086 | 208 |
233
+ | BenchmarkScopingQueries/Create/SetSearchPath-4 | 292105 | 1672 | 25 |
234
+ | BenchmarkScopingQueries/Find/WithTenantSchema-4 | 269289 | 4917 | 86 |
235
+ | BenchmarkScopingQueries/Find/SetSearchPath-4 | 539173 | 6374 | 102 |
236
+ | BenchmarkScopingQueries/Update/WithTenantSchema-4 | 7534239 | 13343 | 203 |
237
+ | BenchmarkScopingQueries/Update/SetSearchPath-4 | 516340 | 6392 | 104 |
238
+ | BenchmarkScopingQueries/Delete/WithTenantSchema-4 | 7630597 | 10848 | 181 |
239
+ | BenchmarkScopingQueries/Delete/SetSearchPath-4 | 8168061 | 12088 | 189 |
239
240
<!-- end from tmp/bench/BenchmarkScopingQueries.md -->
240
241
241
242
## Basic Example
0 commit comments