mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guangya Liu <gyliu...@gmail.com>
Subject Re: Review Request 49843: Added benchmark test for sorter.
Date Tue, 12 Jul 2016 03:19:50 GMT

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

(Updated 七月 12, 2016, 3:19 a.m.)


Review request for mesos, Benjamin Mahler and Klaus Ma.


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


Repository: mesos


Description
-------

Added benchmark test for sorter.


Diffs (updated)
-----

  src/tests/sorter_tests.cpp 20e42419934e81b97676569876cd63ee0a550da3 

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


Testing
-------

make
make check
 
 ./bin/mesos-tests.sh --benchmark --gtest_filter="AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/*"
[==========] Running 36 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 36 tests from AgentAndClientCount/Sorter_BENCHMARK_Test
[ RUN      ] AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/0
Using 1000 agents and 1 clients
Added 1 clients in 466us
Added 1000 agents in 27008us
Sorted 1 clients in 62us
[       OK ] AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/0 (31 ms)
[ RUN      ] AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/1
Using 1000 agents and 50 clients
Added 50 clients in 955us
Added 1000 agents in 25414us
Sorted 50 clients in 1307us
[       OK ] AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/1 (33 ms)
[ RUN      ] AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/2
Using 1000 agents and 100 clients
Added 100 clients in 1671us
Added 1000 agents in 26337us
Sorted 100 clients in 3136us
[       OK ] AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/2 (40 ms)
[ RUN      ] AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/3
Using 1000 agents and 200 clients
Added 200 clients in 3755us
Added 1000 agents in 25517us
Sorted 200 clients in 5717us
[       OK ] AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/3 (54 ms)
[ RUN      ] AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/4
Using 1000 agents and 500 clients
Added 500 clients in 8816us
Added 1000 agents in 27486us
Sorted 500 clients in 15121us
...


Thanks,

Guangya Liu


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message