diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-10-25 20:08:03 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-10-25 20:08:03 +0000 |
commit | fc9e79fb955406af4865b6f8bf050a1c31cceeaa (patch) | |
tree | 3fbdad0b735e0b2d61c1108c9efa4d8c0fb33e8f /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 124850042548e62bf7d53fbf4ca288d6271b7ce5 (diff) | |
download | bcm5719-llvm-fc9e79fb955406af4865b6f8bf050a1c31cceeaa.tar.gz bcm5719-llvm-fc9e79fb955406af4865b6f8bf050a1c31cceeaa.zip |
Benchmark the turnaround time starting a debugger and run to the breakpoint with lldb vs. gdb.
An example (with /Developer/usr/bin/lldb vs. /usr/bin/gdb):
[13:05:04] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -n -p TestCompileRunToBreakpointTurnaround.py
1: test_run_lldb_then_gdb (TestCompileRunToBreakpointTurnaround.CompileRunToBreakpointBench)
Benchmark turnaround time with lldb vs. gdb. ...
lldb turnaround benchmark: Avg: 4.574600 (Laps: 3, Total Elapsed Time: 13.723799)
gdb turnaround benchmark: Avg: 7.966713 (Laps: 3, Total Elapsed Time: 23.900139)
lldb_avg/gdb_avg: 0.574214
ok
----------------------------------------------------------------------
Ran 1 test in 55.462s
OK
llvm-svn: 142949
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions