Skip to content

chore: add mock-server based benchmarks#4389

Merged
olavloite merged 2 commits intopostgresql-dialectfrom
mock-server-benchmarks
Apr 29, 2026
Merged

chore: add mock-server based benchmarks#4389
olavloite merged 2 commits intopostgresql-dialectfrom
mock-server-benchmarks

Conversation

@olavloite
Copy link
Copy Markdown
Collaborator

Adds a simple benchmark class that uses a mock server. These benchmarks are easy to run and can be used to verify optimizations in PGAdapter code, for example to reduce GC pressure or reduce CPU time that is spent in PGAdapter.

It is not intended for benchmarking end-to-end latency to Spanner. For that, a benchmark that connects to Spanner should be used.

Adds a simple benchmark class that uses a mock server. These benchmarks are easy
to run and can be used to verify optimizations in PGAdapter code, for example to
reduce GC pressure or reduce CPU time that is spent in PGAdapter.

It is not intended for benchmarking end-to-end latency to Spanner. For that, a
benchmark that connects to Spanner should be used.
@olavloite olavloite requested review from rayudu3745 April 27, 2026 14:15
@olavloite olavloite merged commit 70e16bf into postgresql-dialect Apr 29, 2026
46 checks passed
@olavloite olavloite deleted the mock-server-benchmarks branch April 29, 2026 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants