Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/22796
Change subject: [webserver] reduce memory allocations and copying for responses ...................................................................... [webserver] reduce memory allocations and copying for responses This patch optimizes handling the WebResponse::response field, swapping the underlying rdbuf in ostringstream instead of materializing it as std::string and copying over the data from one stream to another. There are no functional modifications in this changelist. Change-Id: I4085ab8150ecd04972d9eac8633226845b365830 --- M src/kudu/server/webserver.cc 1 file changed, 9 insertions(+), 8 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/96/22796/1 -- To view, visit http://gerrit.cloudera.org:8080/22796 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I4085ab8150ecd04972d9eac8633226845b365830 Gerrit-Change-Number: 22796 Gerrit-PatchSet: 1 Gerrit-Owner: Alexey Serbin <[email protected]>
