llvm-project/lldb/test
Johnny Chen b8da426285 Add bench.py as a driver script to run some benchmarks on lldb.
Add benchmarks for expression evaluations (TestExpressionCmd.py) and disassembly (TestDoAttachThenDisassembly.py).

An example:
[17:45:55] johnny:/Volumes/data/lldb/svn/trunk/test $ ./bench.py 2>&1 | grep -P '^lldb.*benchmark:'
lldb startup delay (create fresh target) benchmark: Avg: 0.104274 (Laps: 30, Total Elapsed Time: 3.128214)
lldb startup delay (set first breakpoint) benchmark: Avg: 0.102216 (Laps: 30, Total Elapsed Time: 3.066470)
lldb frame variable benchmark: Avg: 1.649162 (Laps: 20, Total Elapsed Time: 32.983245)
lldb stepping benchmark: Avg: 0.104409 (Laps: 50, Total Elapsed Time: 5.220461)
lldb expr cmd benchmark: Avg: 0.206774 (Laps: 25, Total Elapsed Time: 5.169350)
lldb disassembly benchmark: Avg: 0.089086 (Laps: 10, Total Elapsed Time: 0.890859)

llvm-svn: 142708
2011-10-22 00:57:05 +00:00
..
api/check_public_api_headers Fix the compilation warning while running the test case. 2011-10-21 17:57:04 +00:00
arm_emulation Remove old emulation test data files. 2011-04-22 16:29:23 +00:00
attic Move two files to the 'attic'. 2010-10-05 00:08:08 +00:00
benchmarks Add bench.py as a driver script to run some benchmarks on lldb. 2011-10-22 00:57:05 +00:00
example Changed the test case class names to be noun-like instead of verb-like. 2010-09-01 19:59:58 +00:00
expression_command Fix the last testsuite regression from the apple-names stuff. 2011-10-08 01:11:42 +00:00
functionalities Missed this file when doing r142543 to temporarily relax the expected substrings for watchpoint creation output. 2011-10-19 22:17:06 +00:00
help Add a simple test case for 'help watchpoint', 'help watchpt-id', and 'help watchpt-id-list'. 2011-09-23 17:57:49 +00:00
lang Added some simple testcases for figuring out breakpoints by name in 2011-10-11 01:43:50 +00:00
logging Modify the loggings output oracle to fix test suite failure, after the recent change to CommandInterpreter.cpp. 2011-08-25 21:51:45 +00:00
macosx Add a simple test case to exercise the SBDebugger.CreateTargetWithFileAndTargetTriple() API. 2011-08-13 00:55:56 +00:00
make The plugin impl of getCompiler() should be in unison with the Makefile.rules change. 2011-08-24 18:12:53 +00:00
pexpect-2.4 Add pexpect-2.4 (a pure Python module for controlling and automating other programs) to the test directory. 2011-03-11 20:13:06 +00:00
plugins The plugin impl of getCompiler() should be in unison with the Makefile.rules change. 2011-08-24 18:12:53 +00:00
python_api Add test cases for setting condition on a watchpoint for both command and API. 2011-10-17 22:17:47 +00:00
settings General cleanup on the UserSettingsController stuff. There were 5 different 2011-04-19 22:32:36 +00:00
source-manager Passing in os.ctermid() as the arg for SBTarget.Launch(...) for stdin_path, stdout_path, and stderr_path 2011-07-11 23:38:23 +00:00
types o lldbtest.py: 2011-06-23 22:11:20 +00:00
unittest2 o Added unittest2 which has added the new features in unittest for Python 2.7 2010-08-05 23:42:46 +00:00
Makefile Add a default rule to test/Makefile which runs the test suite 2011-06-20 19:06:51 +00:00
README-TestSuite Add some descriptions about the default executable name being 'a.out' and can be overwritten 2011-07-28 21:15:39 +00:00
bench.py Add bench.py as a driver script to run some benchmarks on lldb. 2011-10-22 00:57:05 +00:00
blacklist.py Don't set DYLD_LIBRARY_PATH in the Python environment (which will get passed down to 2011-08-03 17:41:28 +00:00
dotest.py Add bench.py as a driver script to run some benchmarks on lldb. 2011-10-22 00:57:05 +00:00
lldbbench.py Up until now, we have been using pexpect to spawn an lldb process and use lldb commands to 2011-10-20 01:35:57 +00:00
lldbtest.py Modify lldbtest.Base.runHooks() to now take the following keyword arguments: 2011-10-19 16:48:07 +00:00
lldbutil.py SBValue::Watch() and SBValue::WatchPointee() are now the official API for creating 2011-10-14 00:42:25 +00:00
redo.py Comment change. 2011-08-16 20:57:05 +00:00