Skip to content

Conversation

@lpcox
Copy link
Collaborator

@lpcox lpcox commented Jan 31, 2026

  • Add pre-indexing step to Dockerfile for Python, Go, and TypeScript
  • Creates dummy project and runs 'serena project create --index' to download and cache language servers during build time
  • Reduces Serena startup from ~43s to ~2s (95% improvement)
  • Add test-startup-time.sh script to measure gateway startup latency
    • Supports --workspace flag to override default directory
    • Measures time until health check succeeds

- Add pre-indexing step to Dockerfile for Python, Go, and TypeScript
- Creates dummy project and runs 'serena project create --index' to
  download and cache language servers during build time
- Reduces Serena startup from ~43s to ~2s (95% improvement)
- Add test-startup-time.sh script to measure gateway startup latency
  - Supports --workspace flag to override default directory
  - Measures time until health check succeeds
@lpcox lpcox merged commit 405346c into main Jan 31, 2026
1 check passed
@lpcox lpcox deleted the lpcox/init-serena-cache branch January 31, 2026 00:05
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