Skip to content

Commit

Permalink
docs(drivers/postgres): Update bencmark results
Browse files Browse the repository at this point in the history
  • Loading branch information
bartventer committed May 12, 2024
1 parent 8f8f547 commit 8a52862
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions drivers/postgres/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,19 +223,20 @@ db.Find(&Book{})
- goos: linux
- goarch: amd64
- pkg: github.com/bartventer/gorm-multitenancy/v6/drivers/postgres/schema
- cpu: Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
- cpu: AMD EPYC 7763 64-Core Processor
- environment: VSCode Codespaces 16GB RAM
- date: 2024-05-12

| Benchmark | ns/op | B/op | allocs/op |
|-----------|-------|------|-----------|
| BenchmarkScopingQueries/Create/WithTenantSchema-4 | 52052621 | 16382 | 207 |
| BenchmarkScopingQueries/Create/SetSearchPath-4 | 156505 | 1672 | 25 |
| BenchmarkScopingQueries/Find/WithTenantSchema-4 | 161192 | 4917 | 86 |
| BenchmarkScopingQueries/Find/SetSearchPath-4 | 328485 | 6375 | 102 |
| BenchmarkScopingQueries/Update/WithTenantSchema-4 | 42719279 | 13418 | 203 |
| BenchmarkScopingQueries/Update/SetSearchPath-4 | 341492 | 6392 | 104 |
| BenchmarkScopingQueries/Delete/WithTenantSchema-4 | 40143705 | 10822 | 178 |
| BenchmarkScopingQueries/Delete/SetSearchPath-4 | 44092282 | 12146 | 187 |
| BenchmarkScopingQueries/Create/WithTenantSchema-4 | 7587430 | 16086 | 208 |
| BenchmarkScopingQueries/Create/SetSearchPath-4 | 292105 | 1672 | 25 |
| BenchmarkScopingQueries/Find/WithTenantSchema-4 | 269289 | 4917 | 86 |
| BenchmarkScopingQueries/Find/SetSearchPath-4 | 539173 | 6374 | 102 |
| BenchmarkScopingQueries/Update/WithTenantSchema-4 | 7534239 | 13343 | 203 |
| BenchmarkScopingQueries/Update/SetSearchPath-4 | 516340 | 6392 | 104 |
| BenchmarkScopingQueries/Delete/WithTenantSchema-4 | 7630597 | 10848 | 181 |
| BenchmarkScopingQueries/Delete/SetSearchPath-4 | 8168061 | 12088 | 189 |
<!-- end from tmp/bench/BenchmarkScopingQueries.md -->

## Basic Example
Expand Down

0 comments on commit 8a52862

Please sign in to comment.