llvm-project/lldb
Johnny Chen 250a501702 Check in a customized benchmark which compares the Xcode 4.1 vs. Xcode 4.2's gdb disassembly speed
on lldb's Driver::MainLoop function which is ~1190 lines of x86 assembly code.  This file is not
exercised during the normal test suite run, i.e., no +b option specified.  So it should be ok.

The following is the benchmark result on my MBP running OSX Lion:

[17:38:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -p TestFlintVsSlate
/Volumes/data/lldb/svn/trunk/build/Debug
LLDB-71
Path: /Volumes/data/lldb/svn/trunk
URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk
Repository Root: https://johnny@llvm.org/svn/llvm-project
Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8
Revision: 137008
Node Kind: directory
Schedule: normal
Last Changed Author: gclayton
Last Changed Rev: 137008
Last Changed Date: 2011-08-05 17:50:36 -0700 (Fri, 05 Aug 2011)



Session logs for test failures/errors/unexpected successes will go into directory '2011-08-08-17_38_52'
Command invoked: python ./dotest.py -v +b -p TestFlintVsSlate
----------------------------------------------------------------------
Collected 2 tests

1: test_run_41_then_42 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly)
   Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 
4.1 gdb benchmark: Avg: 0.205623 (Laps: 5, Total Elapsed Time: 1.028113)
4.2 gdb benchmark: Avg: 0.201970 (Laps: 5, Total Elapsed Time: 1.009849)
gdb_42_avg/gdb_41_avg: 0.982236
ok
2: test_run_42_then_41 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly)
   Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 
4.2 gdb benchmark: Avg: 0.202602 (Laps: 5, Total Elapsed Time: 1.013012)
4.1 gdb benchmark: Avg: 0.204418 (Laps: 5, Total Elapsed Time: 1.022089)
gdb_42_avg/gdb_41_avg: 0.991119
ok

----------------------------------------------------------------------
Ran 2 tests in 15.688s

OK

llvm-svn: 137092
2011-08-09 00:56:07 +00:00
..
docs Add a note. 2011-07-20 20:28:36 +00:00
examples changing CFString.py to reflect the new behavior of CreateValueFromAddress 2011-08-04 17:14:03 +00:00
include Added a "--global" option to the "target modules list" 2011-08-09 00:01:09 +00:00
lib Patch by David Forsythe to build lldb on FreeBSD! 2011-08-02 20:52:42 +00:00
lldb.xcodeproj Cleaned up the SBType.h file to not include internal headers and reorganized 2011-08-03 22:57:10 +00:00
lldb.xcworkspace Adding a Xcode workspace for lldb. 2011-01-27 20:15:39 +00:00
resources Cleaned up the SBType.h file to not include internal headers and reorganized 2011-08-03 22:57:10 +00:00
scripts On second thought, add the IsValid() method to SBTypeList, making it similar to SBSymbolContextList and SBValueList. 2011-08-05 22:23:26 +00:00
source Don't create a new stop info if we've already calculated one and it is still valid. 2011-08-09 00:32:52 +00:00
test Check in a customized benchmark which compares the Xcode 4.1 vs. Xcode 4.2's gdb disassembly speed 2011-08-09 00:56:07 +00:00
tools Remove some commented out code that doesn't connect to anything yet... 2011-08-09 00:26:56 +00:00
utils Update usage comment. 2011-06-14 22:23:54 +00:00
www Fix some typos. 2011-08-04 21:01:04 +00:00
INSTALL.txt You'll need to be running Mac OS X to get lldb to build right now. 2010-06-09 07:29:26 +00:00
LICENSE.TXT test commit 2010-06-09 03:55:24 +00:00
Makefile Patch by David Forsythe to build lldb on FreeBSD! 2011-08-02 20:52:42 +00:00