mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Meng Zhu <m...@mesosphere.io>
Subject Re: Review Request 64741: Eliminated some unnecessary copying in the HTTP operator API.
Date Wed, 20 Dec 2017 19:52:12 GMT

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




src/master/http.cpp
Lines 4232-4235 (original), 4232-4234 (patched)
<https://reviews.apache.org/r/64741/#comment272997>

    how about:
    
    `*getTasks.add_pending_tasks() = protobuf::createTask(taskInfo, TASK_STAGING, framework->id());`


- Meng Zhu


On Dec. 19, 2017, 5:47 p.m., Benjamin Mahler wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/64741/
> -----------------------------------------------------------
> 
> (Updated Dec. 19, 2017, 5:47 p.m.)
> 
> 
> Review request for mesos, Michael Park and Meng Zhu.
> 
> 
> Bugs: MESOS-8344
>     https://issues.apache.org/jira/browse/MESOS-8344
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This is only a minor portion of the performance improvements
> needed to bring the v1 operator API close to the v0 API
> performance.
> 
> 
> Diffs
> -----
> 
>   src/master/http.cpp ec170a257c2d309712f3c4b2fce756eb0b530ad6 
> 
> 
> Diff: https://reviews.apache.org/r/64741/diff/1/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Benjamin Mahler
> 
>


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