mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guangya Liu <gyliu...@gmail.com>
Subject Review Request 49843: Added benchmark test for sorter.
Date Sun, 10 Jul 2016 22:27:51 GMT

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

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
-----

  src/tests/sorter_tests.cpp 0a921347586808863e615ca3dcc23fae92b629f5 

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


Testing
-------

make
make check

 ./bin/mesos-tests.sh --benchmark --gtest_filter="FrameworkCount/Sorter_BENCHMARK_Test.SortFrameworks*"
 [==========] Running 4 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 4 tests from FrameworkCount/Sorter_BENCHMARK_Test
[ RUN      ] FrameworkCount/Sorter_BENCHMARK_Test.SortFrameworks/0
Sorted 1000 frameworks  in 5443us
[       OK ] FrameworkCount/Sorter_BENCHMARK_Test.SortFrameworks/0 (67 ms)
[ RUN      ] FrameworkCount/Sorter_BENCHMARK_Test.SortFrameworks/1
Sorted 2000 frameworks  in 10393us
[       OK ] FrameworkCount/Sorter_BENCHMARK_Test.SortFrameworks/1 (114 ms)
[ RUN      ] FrameworkCount/Sorter_BENCHMARK_Test.SortFrameworks/2
Sorted 3000 frameworks  in 22161us
[       OK ] FrameworkCount/Sorter_BENCHMARK_Test.SortFrameworks/2 (190 ms)
[ RUN      ] FrameworkCount/Sorter_BENCHMARK_Test.SortFrameworks/3
Sorted 5000 frameworks  in 31893us
[       OK ] FrameworkCount/Sorter_BENCHMARK_Test.SortFrameworks/3 (341 ms)
[----------] 4 tests from FrameworkCount/Sorter_BENCHMARK_Test (713 ms total)

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


Thanks,

Guangya Liu


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