Skip to content

Commit

Permalink
docs(README): Update benchmark results [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and bartventer committed May 16, 2024
1 parent a27d148 commit 31405ee
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
20 changes: 10 additions & 10 deletions drivers/postgres/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,11 +224,11 @@ The benchmarks were run with the following configuration:
- goos: linux
- goarch: amd64
- pkg: github.com/bartventer/gorm-multitenancy/v6/drivers/postgres/schema
- cpu: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
- cpu: AMD EPYC 7763 64-Core Processor
- go version: 1.22.3
- date: 2024-05-16


> The benchmark results were generated during a GitHub Actions workflow run on a Linux runner ([view workflow](https://github.com/bartventer/gorm-multitenancy/actions/runs/9113233960)).
The following table shows the benchmark results, obtained by running:
```bash
Expand All @@ -238,14 +238,14 @@ go test -bench=^BenchmarkScopingQueries$ -run=^$ -benchmem -benchtime=2s github.
| Benchmark | ns/op | B/op | allocs/op |
|-----------|-------|------|-----------|
| BenchmarkScopingQueries/Create/SetSearchPath-4 | 43935165 | 17795 | 225 |
| BenchmarkScopingQueries/Create/WithTenantSchema-4 | 48148485 | 16101 | 208 |
| BenchmarkScopingQueries/Find/SetSearchPath-4 | 485293 | 6374 | 102 |
| BenchmarkScopingQueries/Find/WithTenantSchema-4 | 159456 | 4917 | 86 |
| BenchmarkScopingQueries/Update/SetSearchPath-4 | 44431652 | 14847 | 210 |
| BenchmarkScopingQueries/Update/WithTenantSchema-4 | 47528565 | 13601 | 205 |
| BenchmarkScopingQueries/Delete/SetSearchPath-4 | 45509287 | 12320 | 187 |
| BenchmarkScopingQueries/Delete/WithTenantSchema-4 | 47675177 | 11057 | 180 |
| BenchmarkScopingQueries/Create/SetSearchPath-4 | 1132556 | 17560 | 224 |
| BenchmarkScopingQueries/Create/WithTenantSchema-4 | 866528 | 16074 | 208 |
| BenchmarkScopingQueries/Find/SetSearchPath-4 | 951361 | 6377 | 102 |
| BenchmarkScopingQueries/Find/WithTenantSchema-4 | 679585 | 4916 | 86 |
| BenchmarkScopingQueries/Update/SetSearchPath-4 | 1639658 | 14717 | 209 |
| BenchmarkScopingQueries/Update/WithTenantSchema-4 | 1328368 | 13495 | 204 |
| BenchmarkScopingQueries/Delete/SetSearchPath-4 | 1645932 | 12233 | 190 |
| BenchmarkScopingQueries/Delete/WithTenantSchema-4 | 1428971 | 10979 | 183 |


## Basic Example
Expand Down
20 changes: 10 additions & 10 deletions drivers/postgres/docs/benchmarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ The benchmarks were run with the following configuration:
- goos: linux
- goarch: amd64
- pkg: github.com/bartventer/gorm-multitenancy/v6/drivers/postgres/schema
- cpu: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
- cpu: AMD EPYC 7763 64-Core Processor
- go version: 1.22.3
- date: 2024-05-16


> The benchmark results were generated during a GitHub Actions workflow run on a Linux runner ([view workflow](https://github.com/bartventer/gorm-multitenancy/actions/runs/9113233960)).
The following table shows the benchmark results, obtained by running:
```bash
Expand All @@ -19,11 +19,11 @@ go test -bench=^BenchmarkScopingQueries$ -run=^$ -benchmem -benchtime=2s github.
| Benchmark | ns/op | B/op | allocs/op |
|-----------|-------|------|-----------|
| BenchmarkScopingQueries/Create/SetSearchPath-4 | 43935165 | 17795 | 225 |
| BenchmarkScopingQueries/Create/WithTenantSchema-4 | 48148485 | 16101 | 208 |
| BenchmarkScopingQueries/Find/SetSearchPath-4 | 485293 | 6374 | 102 |
| BenchmarkScopingQueries/Find/WithTenantSchema-4 | 159456 | 4917 | 86 |
| BenchmarkScopingQueries/Update/SetSearchPath-4 | 44431652 | 14847 | 210 |
| BenchmarkScopingQueries/Update/WithTenantSchema-4 | 47528565 | 13601 | 205 |
| BenchmarkScopingQueries/Delete/SetSearchPath-4 | 45509287 | 12320 | 187 |
| BenchmarkScopingQueries/Delete/WithTenantSchema-4 | 47675177 | 11057 | 180 |
| BenchmarkScopingQueries/Create/SetSearchPath-4 | 1132556 | 17560 | 224 |
| BenchmarkScopingQueries/Create/WithTenantSchema-4 | 866528 | 16074 | 208 |
| BenchmarkScopingQueries/Find/SetSearchPath-4 | 951361 | 6377 | 102 |
| BenchmarkScopingQueries/Find/WithTenantSchema-4 | 679585 | 4916 | 86 |
| BenchmarkScopingQueries/Update/SetSearchPath-4 | 1639658 | 14717 | 209 |
| BenchmarkScopingQueries/Update/WithTenantSchema-4 | 1328368 | 13495 | 204 |
| BenchmarkScopingQueries/Delete/SetSearchPath-4 | 1645932 | 12233 | 190 |
| BenchmarkScopingQueries/Delete/WithTenantSchema-4 | 1428971 | 10979 | 183 |

0 comments on commit 31405ee

Please sign in to comment.