summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/PostOrderCFGView.cpp
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-10-22 00:57:05 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-10-22 00:57:05 +0000
commitb8da426285eafb6b55ef29ec2f8223e0004332db (patch)
treef950c68757ad81642f40211f26ebc7a6e7ced294 /clang/lib/Analysis/PostOrderCFGView.cpp
parentf385f12e178861f219e02784475e39cc73b07325 (diff)
downloadbcm5719-llvm-b8da426285eafb6b55ef29ec2f8223e0004332db.tar.gz
bcm5719-llvm-b8da426285eafb6b55ef29ec2f8223e0004332db.zip
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
Diffstat (limited to 'clang/lib/Analysis/PostOrderCFGView.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud