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

(Updated Nov. 18, 2014, 9:11 p.m.)


Review request for mesos, Benjamin Hindman and Niklas Nielsen.


Changes
-------

Delete thread local as opposed to setting false in serve().


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


Repository: mesos-git


Description
-------

This improves performance by short-circuiting run_in_event_loop to just call 
the lambda if it is already in the event loop.


Diffs (updated)
-----

  3rdparty/libprocess/src/libev.hpp 04847e30b0d764d258b8c0971da87180043161f2 
  3rdparty/libprocess/src/process.cpp 404a32dae1b3d22cb55dcbd084623d6b0cb82c71 

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


Testing
-------

make check
3rdparty/libprocess/benchmark improved throughput ~27%


Thanks,

Joris Van Remoortere

Reply via email to