From ffd8cb76972bf29e198afa6d2be63fad99f037c9 Mon Sep 17 00:00:00 2001 From: vee1e Date: Wed, 30 Jul 2025 01:35:42 +0530 Subject: [PATCH] docs: remove outdated performance metrics from README --- backend/README.md | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/backend/README.md b/backend/README.md index 848f7e7..44df278 100644 --- a/backend/README.md +++ b/backend/README.md @@ -259,15 +259,6 @@ The application logs detailed performance metrics to `metrics.txt` including: - **Question/Option processing**: Individual item processing performance - **Cold startup tracking**: Application initialization times -**Typical Performance (M3 Pro MacBook Pro):** -- Validation: 1.76-106.22ms (4.65ms average) -- Parse-only: 3.80-156.92ms (84.21ms average) -- Full upload: 222.08-281.11ms (247.50ms average) -- Question processing: 0.14-0.19ms per question -- Option processing: 0.14-0.16ms per option - ---- - ## Development & Maintenance Tips - **Centralize logic:** All business logic is in `services/`, and all DB access in `database_service.py`. - **Environment variables:** Use `.env` for DB config; never hardcode secrets. @@ -277,8 +268,6 @@ The application logs detailed performance metrics to `metrics.txt` including: - **CORS:** Update allowed origins in `main.py` if frontend URL changes. - **Error handling:** Use structured error responses with specific error types for better user experience. ---- - ## Extending the Backend - **Add new endpoints:** Define in `main.py`, implement logic in `services/`, and update models as needed. - **Add new collections:** Update `database.py` and `database_service.py` for new MongoDB collections. @@ -287,7 +276,5 @@ The application logs detailed performance metrics to `metrics.txt` including: - **Metrics:** Extend metrics logging for new operations or performance measurements. - **Documentation:** Update this README and docstrings in code for any new features or changes. ---- - ## License MIT