[Lldb-commits] [PATCH] D153060: lldb: do more than 1 kilobyte at a time to vastly increase binary sync speed
David Spickett via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Jun 19 03:12:52 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG6947db2778e0: lldb: do more than 1 kilobyte at a time to vastly increase binary sync speed (authored by russelltg, committed by DavidSpickett).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153060/new/
https://reviews.llvm.org/D153060
Files:
lldb/source/Target/Platform.cpp
Index: lldb/source/Target/Platform.cpp
===================================================================
--- lldb/source/Target/Platform.cpp
+++ lldb/source/Target/Platform.cpp
@@ -1630,7 +1630,7 @@
return error;
}
- std::vector<char> buffer(1024);
+ std::vector<char> buffer(512 * 1024);
auto offset = src_offset;
uint64_t total_bytes_read = 0;
while (total_bytes_read < src_size) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153060.532583.patch
Type: text/x-patch
Size: 407 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230619/589160e1/attachment.bin>
More information about the lldb-commits
mailing list