dist-clang
dist-clang copied to clipboard
Collect basic statistics and be able to print them
The list of stats are:
- [x] Количество зря потраченного времени на удалённой стороне
- [ ] Максимальное время выполнения локальной компиляции - позволит оценить новый необходимый таймаут
- [x] Количество попаданий в прямой кеш
- [x] Количество попаданий в обычный кеш
- [x] Количество успешных локальных тасков
- [x] Количество успешных удалённых тасков
But how to view this stats?
There is a sample python script inside "tools" folder - it's not shipped with packages. It's usage is:
python get_report.py <host> <port> <stat1> <stat2> ... <statN>
Host and port are specified in the daemon's config inside "Collector" section. Stat values are enumerated in "perf/stat.proto", e.g. DIRECT_CACHE_MISS, DIRECT_CACHE_HIT, etc.