[Lldb-commits] [lldb] r136932 - /lldb/trunk/test/benchmarks/example/TestRepeatedExprs.py

Johnny Chen johnny.chen at apple.com
Thu Aug 4 15:05:37 PDT 2011


Author: johnny
Date: Thu Aug  4 17:05:36 2011
New Revision: 136932

URL: http://llvm.org/viewvc/llvm-project?rev=136932&view=rev
Log:
Print out the stopwatch (which contains laps, total elapsed time, and average)
instead of just the average.

Modified:
    lldb/trunk/test/benchmarks/example/TestRepeatedExprs.py

Modified: lldb/trunk/test/benchmarks/example/TestRepeatedExprs.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/benchmarks/example/TestRepeatedExprs.py?rev=136932&r1=136931&r2=136932&view=diff
==============================================================================
--- lldb/trunk/test/benchmarks/example/TestRepeatedExprs.py (original)
+++ lldb/trunk/test/benchmarks/example/TestRepeatedExprs.py Thu Aug  4 17:05:36 2011
@@ -25,9 +25,9 @@
 
         print
         self.run_lldb_repeated_exprs(self.exe_name, 100)
+        print "lldb benchmark:", self.stopwatch
         self.run_gdb_repeated_exprs(self.exe_name, 100)
-        print "lldb_avg: %f" % self.lldb_avg
-        print "gdb_avg: %f" % self.gdb_avg
+        print "gdb benchmark:", self.stopwatch
         print "lldb_avg/gdb_avg: %f" % (self.lldb_avg/self.gdb_avg)
 
     def run_lldb_repeated_exprs(self, exe_name, count):





More information about the lldb-commits mailing list