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

Review request for mesos, Benjamin Hindman, Ben Mahler, Ian Downes, Vinod Kone, 
and Jiang Yan Xu.


Repository: mesos-git


Description
-------

Master::Http::stats() has performance problem. After profiling (screenshot 
attached), we found the main cause is due to range addition (e.g. ports 
resources). Since we don't need to accumulate range resources anyway, I 
reorganized the code to avoid adding range resources.


Diffs
-----

  src/master/http.cpp ca66d67 

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


Testing
-------

make -j4 check


File Attachments
----------------

perf profiling results
  
https://reviews.apache.org/media/uploaded/files/2013/08/08/Screen_Shot_2013-08-07_at_3.59.34_PM.png


Thanks,

Jie Yu

Reply via email to