summaryrefslogtreecommitdiffstats
path: root/llvm/lib/TextAPI/ELF/TBEHandler.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2018-12-07 00:35:26 +0000
committerJason Molenda <jmolenda@apple.com>2018-12-07 00:35:26 +0000
commiteb9902ad7e84adecc494c4813286336d5f8cbbd0 (patch)
treefb6cd6f35e5b7e8ed13cb7f9007aec0e31b7258f /llvm/lib/TextAPI/ELF/TBEHandler.cpp
parent17d176ef1fc48b3c3a6b2ee8080914b19bfe78db (diff)
downloadbcm5719-llvm-eb9902ad7e84adecc494c4813286336d5f8cbbd0.tar.gz
bcm5719-llvm-eb9902ad7e84adecc494c4813286336d5f8cbbd0.zip
Change the amount of data that Platform::PutFile will try to transfer
in one packet from 1k bytes to 16k bytes. Sending a large file to an iOS device directly connected by USB cable, to lldb-server running in platform mode, this speeds up the file xfer by 77%. Sending the file in 32k blocks speeds up the file xfer by 80% versus 1k blocks, starting with 16k to make sure we don't have any problems with android testing. We may not have the same perf characteristics over ethernet, but with USB it's faster to send fewer larger packets than many small packets. llvm-svn: 348557
Diffstat (limited to 'llvm/lib/TextAPI/ELF/TBEHandler.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud