Roo-Code/benchmark
Chris Estreich e2bdce0961
Update benchmark/prompts/cpp.md
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-03-17 10:10:08 -07:00
..
prompts Update benchmark/prompts/cpp.md 2025-03-17 10:10:08 -07:00
src Evals 2025-03-17 10:09:19 -07:00
.env.local.sample Evals 2025-03-17 10:09:19 -07:00
Dockerfile Evals 2025-03-17 10:09:19 -07:00
entrypoint.sh Evals 2025-03-17 10:09:19 -07:00
package-lock.json Evals 2025-03-17 10:09:19 -07:00
package.json Evals 2025-03-17 10:09:19 -07:00
README.md Evals 2025-03-17 10:09:19 -07:00
tsconfig.json Evals 2025-03-17 10:09:19 -07:00

Benchmark Harness

Configure ENV vars (OpenRouter, PostHog, etc):

cp .env.local.sample .env.local
# Update ENV vars as needed.

Build and run a Docker image with the development environment needed to run the benchmarks (C++, Go, Java, Node.js, Python & Rust):

npm run docker:start

Run an exercise:

npm run docker:benchmark -- -e exercises/javascript/binary

Select and run an exercise:

npm run cli

Select and run an exercise for a specific language:

npm run cli -- run rust

Run all exercises for a language:

npm run cli -- run rust all

Run all exercises:

npm run cli -- run all

Run all exercises using a specific runId (useful for re-trying when an unexpected error occurs):

npm run cli -- run all --runId 1