Observed since 21 Oct, 10:37 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Framework for benchmarking AI ecosystem tools against database backends
Generalized framework for benchmarking AI tools that depend on database backends.
This repository is also a Python package named ai-ecosystem-benchmark. The
package is intentionally minimal for now while the benchmark framework takes
shape.
Install and sync the development environment with uv:
uv sync
Run the local checks:
uv run pytest
uv run ruff check .
uv run ruff format --check .
uv run mypy
uv run deptry .
Install pre-commit hooks once per checkout:
uv run pre-commit install
Benchmark workloads should subclass BaseBenchmarkWorkload and implement the
required lifecycle hooks:
setup(): prepare clients, data, or other state before benchmarks run.between_benchmarks(): reset or pause between benchmark executions.teardown(): clean up resources after benchmarks finish.Connection strings are optional. If a connection string is omitted, that backend is assumed to be disabled for the benchmark run.
Backend-specific benchmark methods are discovered by name:
aerospikepostgresredisfrom ai_ecosystem_benchmark import BaseBenchmarkWorkload
class MyWorkload(BaseBenchmarkWorkload):
def __init__(
self,
aerospike_connection_string: str | None = None,
postgres_connection_string: str | None = None,
redis_connection_string: str | None = None,
) -> None:
super().__init__(
aerospike_connection_string=aerospike_connection_string,
postgres_connection_string=postgres_connection_string,
redis_connection_string=redis_connection_string,
)
def setup(self) -> None:
return None
def between_benchmarks(self) -> None:
return None
def teardown(self) -> None:
return None
def aerospike_test_insert(self) -> None:
...
def redis_test_lookup(self) -> None:
...
The first infrastructure target is a GCP Compute Terraform stack that can provision any combination of Redis, Postgres, and Aerospike benchmark clusters. The GitHub Actions workflow in .github/workflows/terraform.yml runs Terraform manually through workflow_dispatch and prints non-sensitive endpoint details after apply.
See infra/terraform/gcp-compute/README.md for setup details.
This project is licensed under the Apache License 2.0. See LICENSE for details.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.0.6 | 11 Jun 2026 | 0 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 10:37 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:ff98fb5d93e27a0a6c1773c6210eaff59c942ffd46d1955a50e9d9f718d42e4f