[Lldb-commits] [lldb] r154208 - /lldb/trunk/examples/python/disasm-stress-test.py
Sean Callanan
scallanan at apple.com
Fri Apr 6 14:04:20 PDT 2012
Author: spyffe
Date: Fri Apr 6 16:04:20 2012
New Revision: 154208
URL: http://llvm.org/viewvc/llvm-project?rev=154208&view=rev
Log:
Removed a call to truncate() which slowed down
the stress test by a LOT.
Modified:
lldb/trunk/examples/python/disasm-stress-test.py
Modified: lldb/trunk/examples/python/disasm-stress-test.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/python/disasm-stress-test.py?rev=154208&r1=154207&r2=154208&view=diff
==============================================================================
--- lldb/trunk/examples/python/disasm-stress-test.py (original)
+++ lldb/trunk/examples/python/disasm-stress-test.py Fri Apr 6 16:04:20 2012
@@ -52,7 +52,6 @@
def ResetLogFile(log_file):
if log_file != sys.stdout:
log_file.seek(0)
- log_file.truncate(0)
def PrintByteArray(log_file, byte_array):
for byte in byte_array:
More information about the lldb-commits
mailing list