Skip to main content

Performance

Optimization Features

Concurrent Processing

  • Parallel file processing
  • Token counting optimization
  • Smart caching system

Memory Management

  • Efficient file reading
  • Streaming large files
  • Memory usage monitoring

Debug Mode

Enable with -debug flag:

promptext -debug

Debug output includes:

  • Processing times
  • Memory usage
  • Cache hits/misses
  • Token counting details

Performance Tips

  1. Use specific file extensions
  2. Configure appropriate excludes
  3. Enable caching
  4. Use .gitignore integration