diff --git a/benchmark/apps/web/README.md b/benchmark/apps/web/README.md deleted file mode 100644 index 6c0a636c92..0000000000 --- a/benchmark/apps/web/README.md +++ /dev/null @@ -1,56 +0,0 @@ -# Roo Code Benchmark Web UI - -## Getting Started - -Install dependencies: - -```sh -pnpm install -``` - -Create your SQLite database: - -```sh -cp .env.sample .env -# Update path to SQLite database as needed in `.env`. -npx drizzle-kit push -``` - -Start the app: - -```sh -pnpm dev -``` - -## API - -```sh -curl -f -X POST http://localhost:3000/api/runs \ - -H "Content-Type: application/json" \ - -d '{"model": "Claude 3.7 Sonnet"}' - -curl -f -X POST http://localhost:3000/api/tasks \ - -H "Content-Type: application/json" \ - -d '{ - "runId": 1, - "language": "javascript", - "exercise": "binary", - "tokensIn": 1000000, - "tokensOut": 50000, - "tokensContext": 50, - "cacheWrites": 5, - "cacheReads": 10, - "cost": 0.543, - "duration": 150000, - "passed": true - }' -``` - -## Recipes - -Zero-out and re-create database file: - -```sh -truncate -s 0 /tmp/benchmarks.db -npx drizzle-kit push -```