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 50556: Added benchmark test for `Resources::filter`.
Date Thu, 22 Sep 2016 09:28:16 GMT

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

(Updated 九月 22, 2016, 9:28 a.m.)


Review request for mesos, Benjamin Mahler, Joris Van Remoortere, Klaus Ma, and Jiang Yan Xu.


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


Repository: mesos


Description
-------

This benchmark test is using nonRevocable, revocable, unreserved
and reserved API benchmark test to test the API of filter for
Resources.


Diffs (updated)
-----

  src/tests/resources_tests.cpp 3e493007d6d1d8194d07035aaa1cde28dedf2b5a 

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


Testing
-------

make
make check

```
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from Resources_BENCHMARK_Test
[ RUN      ] Resources_BENCHMARK_Test.Filters
Took 853840us to perform 50000 'r.nonRevocable()' operations on cpus(*):1; gpus(*):1; mem(*):128;
disk(*):256
Took 188532us to perform 50000 'r.revocable()' operations on cpus(*){REV}:1
Took 836740us to perform 50000 'r.unreserved()' operations on cpus(*):1; gpus(*):1; mem(*):128;
disk(*):256
Took 1.029417secs to perform 50000 'r.reserved(role)' operations on cpus(role):1; gpus(role):1;
mem(role):128; disk(role):256
[       OK ] Resources_BENCHMARK_Test.Filters (2909 ms)
[----------] 1 test from Resources_BENCHMARK_Test (2909 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (2932 ms total)
[  PASSED  ] 1 test.
```


Thanks,

Guangya Liu


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