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

(Updated June 18, 2015, 11:14 p.m.)


Review request for mesos, Ben Mahler and Vinod Kone.


Bugs: MESOS-2892
    https://issues.apache.org/jira/browse/MESOS-2892


Repository: mesos


Description
-------

Added a performance benchmark for hierarchical allocator addSlave.


Diffs
-----

  src/tests/hierarchical_allocator_tests.cpp 
85bb29e7cfc00579ff8f6d62d6c75e1b99ffcdba 

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


Testing (updated)
-------

bin/mesos-test.sh --benchmark

0.23.0 current master

[==========] Running 4 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 4 tests from SlaveCount/HierarchicalAllocator_BENCHMARK_Test
[ RUN      ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/0
[      OK ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/0 (2539 ms)
[ RUN      ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/1
[      OK ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/1 (5120 ms)
[ RUN      ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/2
[      OK ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/2 (7534 ms)
[ RUN      ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/3
[      OK ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/3 (12663 
ms)
[----------] 4 tests from SlaveCount/HierarchicalAllocator_BENCHMARK_Test 
(27856 ms total)

[----------] Global test environment tear-down
[==========] 4 tests from 1 test case ran. (27900 ms total)
[  PASSED  ] 4 tests.

0.23.0 before MESOS-2373

[==========] Running 4 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 4 tests from SlaveCount/HierarchicalAllocator_BENCHMARK_Test
[ RUN      ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/0
[       OK ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/0 (1786 
ms)
[ RUN      ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/1
[       OK ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/1 (3638 
ms)
[ RUN      ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/2
[       OK ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/2 (5319 
ms)
[ RUN      ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/3
[       OK ] SlaveCount/HierarchicalAllocator_BENCHMARK_Test.AddSlave/3 (8949 
ms)
[----------] 4 tests from SlaveCount/HierarchicalAllocator_BENCHMARK_Test 
(19693 ms total)

[----------] Global test environment tear-down
[==========] 4 tests from 1 test case ran. (19735 ms total)
[  PASSED  ] 4 tests.


Thanks,

Jie Yu

Reply via email to