CommitLoom now includes comprehensive usage metrics to help you understand your usage patterns, track costs, and measure productivity improvements.
The metrics system is designed to be:
- Private: All data is stored locally; nothing is sent to external servers
- Transparent: Clear data collection with easy access to view your metrics
- Useful: Provides insights about cost savings, time saved, and usage patterns
CommitLoom tracks the following metrics:
- Total commits generated
- Total tokens used
- Total cost in EUR
- Total files processed
- Estimated time saved
- Most active repositories
- Usage frequency by repository
- File changes by repository
- Token usage by model
- Cost breakdown by model
- Efficiency metrics (tokens per commit, cost per file)
- Batch vs. single commits
- Average processing time
- Success rates
To view your metrics, use the stats command:
loom statsThis will display a summary of your usage statistics. To see more detailed information, you can use the debug flag:
loom stats -dMetrics are stored locally in the following location, based on your operating system:
- Linux:
~/.local/share/commitloom/metrics/ - macOS:
~/Library/Application Support/commitloom/metrics/ - Windows:
%APPDATA%\commitloom\metrics\
The data is stored in two JSON files:
commit_metrics.json: Contains detailed information about each commitusage_statistics.json: Contains aggregated statistics about your usage
CommitLoom respects your privacy:
- No telemetry or data collection occurs without your knowledge
- All metrics are stored locally on your machine
- No data is ever sent to external servers
- You can delete the metrics files at any time to reset your statistics
CommitLoom estimates time savings based on the assumption that writing a quality commit message manually takes approximately 3 minutes on average. The time saved is calculated as:
time_saved = estimated_manual_time - actual_processing_time
Where:
estimated_manual_timeis 3 minutes (180 seconds)actual_processing_timeis the time taken by CommitLoom to generate the commit message
This provides a conservative estimate of how much time you're saving by using CommitLoom.
In future versions, we plan to enhance the metrics system with:
- Interactive visualizations
- Export capabilities (CSV, JSON)
- More detailed analysis by file type
- Team-based aggregated statistics (while maintaining privacy)
- Integration with development workflows and productivity tools