Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect basic statistics and be able to print them #6

Open
5 of 6 tasks
abyss7 opened this issue Feb 22, 2015 · 2 comments
Open
5 of 6 tasks

Collect basic statistics and be able to print them #6

abyss7 opened this issue Feb 22, 2015 · 2 comments

Comments

@abyss7
Copy link
Owner

abyss7 commented Feb 22, 2015

The list of stats are:

  • Количество зря потраченного времени на удалённой стороне
  • Максимальное время выполнения локальной компиляции - позволит оценить новый необходимый таймаут
  • Количество попаданий в прямой кеш
  • Количество попаданий в обычный кеш
  • Количество успешных локальных тасков
  • Количество успешных удалённых тасков
@mlopatkin
Copy link

But how to view this stats?

@abyss7
Copy link
Owner Author

abyss7 commented Nov 9, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants