-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/44853/
-----------------------------------------------------------

(Updated March 17, 2016, 3:49 p.m.)


Review request for mesos, Alexander Rukletsov and Ben Mahler.


Changes
-------

Used stringify instead of string::to_string.


Repository: mesos


Description
-------

Added benchmark test for the allocator metrics endpoint.


Diffs (updated)
-----

  src/tests/hierarchical_allocator_tests.cpp 
459e02576f6d05abbbcc83ae5cabac5c66e93f05 

Diff: https://reviews.apache.org/r/44853/diff/


Testing
-------

The benchmark uses the same parametrized setup as other 
`HierarchicalAllocator_BENCHMARK_Tests` which already elsewhere take 
considerable time. The reason for covering the same parameter space here was 
the assumption that that parameter space does capture the relevant scenarios.

The benchmark shows that the time needed to obtain the metrics has a linear 
relationship with the number of registered frameworks, roughly independent of 
the number of slaves. With my setup, the time per framework was well below 1 ms 
after already a few frameworks.


Thanks,

Benjamin Bannier

Reply via email to