From 9afc1e4876409ce62e5f884ec495732fa0ecc33e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 6 Jun 2024 10:09:52 +0000 Subject: [PATCH] docs(README): Update benchmark results [skip ci] --- drivers/postgres/README.md | 20 ++++++++++---------- drivers/postgres/docs/0002_benchmarks.md | 20 ++++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/drivers/postgres/README.md b/drivers/postgres/README.md index 086d438..ecf2373 100644 --- a/drivers/postgres/README.md +++ b/drivers/postgres/README.md @@ -226,9 +226,9 @@ The benchmarks were run with the following configuration: - pkg: github.com/bartventer/gorm-multitenancy/v6/drivers/postgres/schema - cpu: AMD EPYC 7763 64-Core Processor - go version: 1.22.3 -- date: 2024-06-03 +- date: 2024-06-06 -> 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/9350984997)). +> 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/9399013373)). The following table shows the benchmark results, obtained by running: ```bash @@ -238,14 +238,14 @@ go test -bench=^BenchmarkScopingQueries$ -run=^$ -benchmem -benchtime=2s github. | Benchmark | ns/op | B/op | allocs/op | |-----------|-------|------|-----------| -| BenchmarkScopingQueries/Create/SetSearchPath-4 | 1153284 | 17557 | 224 | -| BenchmarkScopingQueries/Create/WithTenantSchema-4 | 871816 | 16227 | 209 | -| BenchmarkScopingQueries/Find/SetSearchPath-4 | 944979 | 6377 | 102 | -| BenchmarkScopingQueries/Find/WithTenantSchema-4 | 667537 | 5076 | 87 | -| BenchmarkScopingQueries/Update/SetSearchPath-4 | 1601039 | 14720 | 209 | -| BenchmarkScopingQueries/Update/WithTenantSchema-4 | 1315298 | 13656 | 205 | -| BenchmarkScopingQueries/Delete/SetSearchPath-4 | 1615386 | 12235 | 190 | -| BenchmarkScopingQueries/Delete/WithTenantSchema-4 | 1419866 | 11300 | 185 | +| BenchmarkScopingQueries/Create/SetSearchPath-4 | 1184112 | 17552 | 224 | +| BenchmarkScopingQueries/Create/WithTenantSchema-4 | 918555 | 16224 | 209 | +| BenchmarkScopingQueries/Find/SetSearchPath-4 | 951405 | 6377 | 102 | +| BenchmarkScopingQueries/Find/WithTenantSchema-4 | 667583 | 5076 | 87 | +| BenchmarkScopingQueries/Update/SetSearchPath-4 | 1665855 | 14720 | 209 | +| BenchmarkScopingQueries/Update/WithTenantSchema-4 | 1387175 | 13657 | 205 | +| BenchmarkScopingQueries/Delete/SetSearchPath-4 | 1701148 | 12234 | 190 | +| BenchmarkScopingQueries/Delete/WithTenantSchema-4 | 1503335 | 11303 | 185 | ## Basic Example diff --git a/drivers/postgres/docs/0002_benchmarks.md b/drivers/postgres/docs/0002_benchmarks.md index 04954fb..e515234 100644 --- a/drivers/postgres/docs/0002_benchmarks.md +++ b/drivers/postgres/docs/0002_benchmarks.md @@ -7,9 +7,9 @@ The benchmarks were run with the following configuration: - pkg: github.com/bartventer/gorm-multitenancy/v6/drivers/postgres/schema - cpu: AMD EPYC 7763 64-Core Processor - go version: 1.22.3 -- date: 2024-06-03 +- date: 2024-06-06 -> 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/9350984997)). +> 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/9399013373)). The following table shows the benchmark results, obtained by running: ```bash @@ -19,11 +19,11 @@ go test -bench=^BenchmarkScopingQueries$ -run=^$ -benchmem -benchtime=2s github. | Benchmark | ns/op | B/op | allocs/op | |-----------|-------|------|-----------| -| BenchmarkScopingQueries/Create/SetSearchPath-4 | 1153284 | 17557 | 224 | -| BenchmarkScopingQueries/Create/WithTenantSchema-4 | 871816 | 16227 | 209 | -| BenchmarkScopingQueries/Find/SetSearchPath-4 | 944979 | 6377 | 102 | -| BenchmarkScopingQueries/Find/WithTenantSchema-4 | 667537 | 5076 | 87 | -| BenchmarkScopingQueries/Update/SetSearchPath-4 | 1601039 | 14720 | 209 | -| BenchmarkScopingQueries/Update/WithTenantSchema-4 | 1315298 | 13656 | 205 | -| BenchmarkScopingQueries/Delete/SetSearchPath-4 | 1615386 | 12235 | 190 | -| BenchmarkScopingQueries/Delete/WithTenantSchema-4 | 1419866 | 11300 | 185 | +| BenchmarkScopingQueries/Create/SetSearchPath-4 | 1184112 | 17552 | 224 | +| BenchmarkScopingQueries/Create/WithTenantSchema-4 | 918555 | 16224 | 209 | +| BenchmarkScopingQueries/Find/SetSearchPath-4 | 951405 | 6377 | 102 | +| BenchmarkScopingQueries/Find/WithTenantSchema-4 | 667583 | 5076 | 87 | +| BenchmarkScopingQueries/Update/SetSearchPath-4 | 1665855 | 14720 | 209 | +| BenchmarkScopingQueries/Update/WithTenantSchema-4 | 1387175 | 13657 | 205 | +| BenchmarkScopingQueries/Delete/SetSearchPath-4 | 1701148 | 12234 | 190 | +| BenchmarkScopingQueries/Delete/WithTenantSchema-4 | 1503335 | 11303 | 185 |