-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/52769/
-----------------------------------------------------------
Review request for mesos and Benjamin Mahler.
Bugs: MESOS-5898
https://issues.apache.org/jira/browse/MESOS-5898
Repository: mesos
Description
-------
Removed ports ranges benchmark test from scalar benchmark test.
Diffs
-----
src/tests/resources_tests.cpp 6a12783c26f359dda835b4866b299a8fcfb3f972
Diff: https://reviews.apache.org/r/52769/diff/
Testing
-------
make
make check
```
./bin/mesos-tests.sh --benchmark
--gtest_filter="*Resources_Scalar_BENCHMARK_Test.Arithmetic/*"
[==========] Running 3 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 3 tests from
ResourcesScalarOperators/Resources_Scalar_BENCHMARK_Test
[ RUN ]
ResourcesScalarOperators/Resources_Scalar_BENCHMARK_Test.Arithmetic/0
Took 56798us to perform 50000 'total += r' operations on cpus(*):1; gpus(*):1;
mem(*):128; disk(*):256
Took 81900us to perform 50000 'total -= r' operations on cpus(*):1; gpus(*):1;
mem(*):128; disk(*):256
Took 262816us to perform 50000 'total = total + r' operations on cpus(*):1;
gpus(*):1; mem(*):128; disk(*):256
Took 248757us to perform 50000 'total = total - r' operations on cpus(*):1;
gpus(*):1; mem(*):128; disk(*):256
[ OK ]
ResourcesScalarOperators/Resources_Scalar_BENCHMARK_Test.Arithmetic/0 (651 ms)
[ RUN ]
ResourcesScalarOperators/Resources_Scalar_BENCHMARK_Test.Arithmetic/1
Took 4.685568secs to perform 10 'total += r' operations on cpus(0, principal_0,
{key_0: value_0}):1; gpus(...
Took 4.865824secs to perform 10 'total -= r' operations on cpus(0, principal_0,
{key_0: value_0}):1; gpus(...
Took 4.68405secs to perform 10 'total = total + r' operations on cpus(0,
principal_0, {key_0: value_0}):1; gpus(...
Took 4.801695secs to perform 10 'total = total - r' operations on cpus(0,
principal_0, {key_0: value_0}):1; gpus(...
[ OK ]
ResourcesScalarOperators/Resources_Scalar_BENCHMARK_Test.Arithmetic/1 (19095 ms)
[ RUN ]
ResourcesScalarOperators/Resources_Scalar_BENCHMARK_Test.Arithmetic/2
Took 49434us to perform 50000 'total += r' operations on cpus(*):1; mem(*):128;
disk(test)[persistentId:...
Took 51654us to perform 50000 'total -= r' operations on cpus(*):1; mem(*):128;
disk(test)[persistentId:...
Took 322006us to perform 50000 'total = total + r' operations on cpus(*):1;
mem(*):128; disk(test)[persistentId:...
Took 336050us to perform 50000 'total = total - r' operations on cpus(*):1;
mem(*):128; disk(test)[persistentId:...
[ OK ]
ResourcesScalarOperators/Resources_Scalar_BENCHMARK_Test.Arithmetic/2 (760 ms)
[----------] 3 tests from
ResourcesScalarOperators/Resources_Scalar_BENCHMARK_Test (20506 ms total)
[----------] Global test environment tear-down
[==========] 3 tests from 1 test case ran. (20515 ms total)
[ PASSED ] 3 tests.
```
Thanks,
Guangya Liu