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 50261: Updated allocator test helper function `makeLabels` more readable.
Date Wed, 20 Jul 2016 21:10:24 GMT

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

Review request for mesos and Benjamin Mahler.


Repository: mesos


Description
-------

Updated allocator test helper function `makeLabels` more readable.


Diffs
-----

  src/tests/hierarchical_allocator_tests.cpp 3ddce7ab19613831527f010524b8454fecfb9927 

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


Testing
-------

Discussion for this: http://markmail.org/thread/7sjfbfxi7tkhu35p

make
make check

```
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from SlaveAndFrameworkCount/HierarchicalAllocator_BENCHMARK_Test
[ RUN      ] SlaveAndFrameworkCount/HierarchicalAllocator_BENCHMARK_Test.ResourceLabels/1
Using 1000 agents and 50 frameworks
Added 50 frameworks in 10012us
Added 1000 agents in 3.337114secs
round 0 allocate() took 2.498978secs to make 1000 offers
round 1 allocate() took 2.459849secs to make 1000 offers
round 2 allocate() took 2.434381secs to make 1000 offers
round 3 allocate() took 2.488205secs to make 1000 offers
round 4 allocate() took 2.479436secs to make 1000 offers
```


Thanks,

Guangya Liu


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