diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-10-26 00:35:10 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-10-26 00:35:10 +0000 |
commit | 6e5b330fb4ee74b2c93c4ba10abc555e86fd240f (patch) | |
tree | 7df8e5e0c22f9daae26618f87d88f6bcef284b74 /lldb/source/Commands/CommandObjectExpression.cpp | |
parent | 6ebf401412484c3d741a0f74c61cad7516d7ad8c (diff) | |
download | bcm5719-llvm-6e5b330fb4ee74b2c93c4ba10abc555e86fd240f.tar.gz bcm5719-llvm-6e5b330fb4ee74b2c93c4ba10abc555e86fd240f.zip |
Add another metric for startup delay -- run to breakpoint, which measures the time from issuing
the run command till the first breakpoint hit. Example:
$ ./dotest.py -v +b -n -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 delay (create fresh target) benchmark: Avg: 0.124496 (Laps: 30, Total Elapsed Time: 3.734883)
lldb startup delay (set first breakpoint) benchmark: Avg: 0.220828 (Laps: 30, Total Elapsed Time: 6.624847)
lldb startup delay (run to breakpoint) benchmark: Avg: 0.478159 (Laps: 30, Total Elapsed Time: 14.344774)
ok
llvm-svn: 142993
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
0 files changed, 0 insertions, 0 deletions