[Lldb-commits] [lldb] r136666 - in /lldb/trunk/test: benchmarks/example/TestRepeatedExprs.py lldbbench.py
Johnny Chen
johnny.chen at apple.com
Mon Aug 1 17:50:55 PDT 2011
Author: johnny
Date: Mon Aug 1 19:50:55 2011
New Revision: 136666
URL: http://llvm.org/viewvc/llvm-project?rev=136666&view=rev
Log:
Simple renaming: self.swatch -> self.stopwatch.
Modified:
lldb/trunk/test/benchmarks/example/TestRepeatedExprs.py
lldb/trunk/test/lldbbench.py
Modified: lldb/trunk/test/benchmarks/example/TestRepeatedExprs.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/benchmarks/example/TestRepeatedExprs.py?rev=136666&r1=136665&r2=136666&view=diff
==============================================================================
--- lldb/trunk/test/benchmarks/example/TestRepeatedExprs.py (original)
+++ lldb/trunk/test/benchmarks/example/TestRepeatedExprs.py Mon Aug 1 19:50:55 2011
@@ -24,10 +24,10 @@
def run_lldb_repeated_exprs(self):
for i in range(1000):
- with self.swatch:
+ with self.stopwatch:
print "running "+self.testMethodName
print "benchmarks result for "+self.testMethodName
- print "stopwatch:", str(self.swatch)
+ print "stopwatch:", str(self.stopwatch)
def run_gdb_repeated_exprs(self):
print "running "+self.testMethodName
Modified: lldb/trunk/test/lldbbench.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbbench.py?rev=136666&r1=136665&r2=136666&view=diff
==============================================================================
--- lldb/trunk/test/lldbbench.py (original)
+++ lldb/trunk/test/lldbbench.py Mon Aug 1 19:50:55 2011
@@ -91,10 +91,10 @@
def setUp(self):
"""Fixture for unittest test case setup."""
Base.setUp(self)
- self.swatch = Stopwatch()
+ self.stopwatch = Stopwatch()
def tearDown(self):
"""Fixture for unittest test case teardown."""
Base.tearDown(self)
- del self.swatch
+ del self.stopwatch
More information about the lldb-commits
mailing list