diff options
| author | Greg Clayton <gclayton@apple.com> | 2011-01-07 06:08:19 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2011-01-07 06:08:19 +0000 |
| commit | 58be07b28c98527e3d0402361b933157c3351691 (patch) | |
| tree | e60cafa3a9fd00f822b668ce49bfc19965520742 /clang/test/CodeGen/c-strings.c | |
| parent | 8265d566389b711e56b3c6806ddcde5344784848 (diff) | |
| download | bcm5719-llvm-58be07b28c98527e3d0402361b933157c3351691.tar.gz bcm5719-llvm-58be07b28c98527e3d0402361b933157c3351691.zip | |
Added memory caching to lldb_private::Process. All lldb_private::Process
subclasses will automatically be able to take advantage of caching. The
cache line size is set to 512 by default.
This greatly speeds up stack backtraces on MacOSX when using the
ProcessGDBRemote process plug-in since only about 6300 packets per second
can be sent.
Initial speedups show:
Prior to caching: 10,000 stack frames took 5.2 seconds
After caching: 10,000 stack frames in 240 ms!
About a 20x speedup!
llvm-svn: 122996
Diffstat (limited to 'clang/test/CodeGen/c-strings.c')
0 files changed, 0 insertions, 0 deletions

