Skip to content

Conversation

@hholb
Copy link
Member

@hholb hholb commented Dec 9, 2025

Overview

This PR sets up the backend for the new benchmark setup. I removed all of the job tracking and complex setup leaving a single 'BenchmarkResults' table that tracks basic information about a benchmark run with a JSON field for metrics meaning we can adjust the metrics we capture without changing the database schema. This setup allows us to implement more benchmarks in the SDK and only need to hit the POST /benchmarks to publish a run no matter what the benchmark is or what the metrics it sends contain. The frontend can hit GET /benchmarks to pull down data to populate the leaderboard.

The POST route for publising benchmark results is limited to use by super users only.

Testing

Updated unit tests.

@hholb hholb marked this pull request as ready for review December 9, 2025 20:57
Copy link
Contributor

@WillEngler WillEngler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love to see a net red PR!

@hholb hholb merged commit d0589d9 into dev Dec 9, 2025
1 check passed
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.

3 participants