aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-10-20 22:37:45 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-10-20 22:37:45 +0000
commit7f63fdaa74608ace432f7c28df0f449c95cf61f2 (patch)
tree3c12e622ca1136db2d444411ae88d1acc3622cdf /llvm/lib/CodeGen/CodeGen.cpp
parent97fbc342763aa6f0e425005f9072472791a29f97 (diff)
downloadllvm-7f63fdaa74608ace432f7c28df0f449c95cf61f2.zip
llvm-7f63fdaa74608ace432f7c28df0f449c95cf61f2.tar.gz
llvm-7f63fdaa74608ace432f7c28df0f449c95cf61f2.tar.bz2
Add a benchmark for measuring start up delays of lldb, including:
o create a fresh target; and o set the first breakpoint Example (using lldb to set a breakpoint on lldb's Driver::MainLoop function): ./dotest.py -v +b -x '-F Driver::MainLoop()' -p TestStartupDelays.py ... 1: test_startup_delay (TestStartupDelays.StartupDelaysBench) Test start up delays creating a target and setting a breakpoint. ... lldb startup delays benchmark: create fresh target: Avg: 0.106732 (Laps: 15, Total Elapsed Time: 1.600985) set first breakpoint: Avg: 0.102589 (Laps: 15, Total Elapsed Time: 1.538832) ok llvm-svn: 142628
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions