Skip to content

Server performance audit#88

Closed
kentcdodds wants to merge 2 commits intomainfrom
cursor/server-performance-audit-58d5
Closed

Server performance audit#88
kentcdodds wants to merge 2 commits intomainfrom
cursor/server-performance-audit-58d5

Conversation

@kentcdodds
Copy link
Copy Markdown
Member

Adds server-side performance logging and HTTP endpoint benchmarking tools to identify bottlenecks after recent dependency updates.

Test Plan

  1. Start the application: bun run dev
  2. Run the server benchmark:
    "$HOME/.bun/bin/bun" ./scripts/benchmark-server.ts --iterations 20 --concurrency 4 --output /opt/cursor/artifacts/benchmark-server.json | tee /opt/cursor/artifacts/benchmark-server.log
  3. Run the database performance benchmark:
    "$HOME/.bun/bin/bun" ./scripts/benchmark-performance.ts --iterations 3 | tee /opt/cursor/artifacts/benchmark-performance.log
  4. Enable PERF_LOGGING=true in .env and observe server logs for server-perf: entries to monitor request metrics (CPU, ELU, memory, duration).

Checklist

  • Tests updated (new benchmark scripts added)
  • Docs updated (new docs/server-performance-audit.md added)

Screenshots

N/A (server-side changes and text-based benchmark outputs)


Open in Cursor Open in Web

cursoragent and others added 2 commits February 4, 2026 15:25
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
@cursor
Copy link
Copy Markdown

cursor bot commented Feb 4, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@kentcdodds kentcdodds closed this Feb 4, 2026
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.

2 participants