[all-commits] [llvm/llvm-project] b88d94: [lldb] Speed up FindInMemory tests (#111951)
Igor Kudrin via All-commits
all-commits at lists.llvm.org
Fri Oct 18 14:13:48 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b88d94caba518bc63c25fe476c4de3d9b0bbd2c0
https://github.com/llvm/llvm-project/commit/b88d94caba518bc63c25fe476c4de3d9b0bbd2c0
Author: Igor Kudrin <ikudrin at accesssoftek.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M lldb/test/API/python_api/find_in_memory/TestFindInMemory.py
M lldb/test/API/python_api/find_in_memory/TestFindRangesInMemory.py
M lldb/test/API/python_api/find_in_memory/address_ranges_helper.py
Log Message:
-----------
[lldb] Speed up FindInMemory tests (#111951)
A memory region can be relatively large. Searching for a value in the
entire region is time-consuming, especially when running tests against a
remote target, because the memory data is transferred in small chunks
over a relatively slow GDB Remote Protocol. The patch limits the address
range to be searched to 2K, which seems sufficient for these tests. In
my setup, for local runs, these tests now take half the time they did
before the patch. For a remote target, the improvement is even more
significant.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list