nesvoboda / containers-battleground-backend

A benchmark runner for ft_containers

Home Page:https://containers-battleground.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


enter image description here

An online benchmark for ft_containers (backend)
Check it out »

Current state

The benchmarks are in their early days. Feel free to contribute!

How to run this server

1. Build the runner docker image

docker build . --tag bg

2. Define the environment variables

export SUPABASE_DB_HOST={YOUR SUPABASE DB}
export SUPABASE_DB_PASSWORD={YOUR SUPABASE DB PASSWORD}

For now supabase provides the backend in form of a Postgres database. You can infer the schema from the Peewee model definition in run.py

3. Install the dependencies

pip install -r requirements.txt

4. Run the benchmark runner

python run.py

The runner script will find all unhandled benchmark requests and handle them.

About

A benchmark runner for ft_containers

https://containers-battleground.netlify.app

License:GNU General Public License v3.0


Languages

Language:Python 94.5%Language:Dockerfile 5.5%